From 5ce6889258956754705f5ac140a376503d147d43 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Jan 2022 16:19:03 -0300 Subject: _plugins/generate-favicon.rb: Delete file, generate files in Makefile --- Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 978a0dc..8359403 100644 --- a/Makefile +++ b/Makefile @@ -22,13 +22,22 @@ lilypond = \ $(lilypond.midi) \ $(lilypond.ogg) +favicons = static/favicon.png favicon.ico -all: $(lilypond) + +all: $(lilypond) $(favicons) $(lilypond.pdf): $(lilypond.midi) +static/favicon.png: static/favicon.svg + inkscape -o $@ -w 420 -h 420 -b white $? + +favicon.ico: static/favicon.svg + convert $? $@ + + check: sh aux/assert-shellcheck.sh sh aux/workflow/assert-todos.sh @@ -41,7 +50,7 @@ dev-check: check clean: rm -rf \ public/ \ - $(lilypond) + $(lilypond) $(favicons) public: all jekyll build -- cgit v1.2.3