aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-10 16:19:03 -0300
committerEuAndreh <eu@euandre.org>2022-01-10 16:19:03 -0300
commit5ce6889258956754705f5ac140a376503d147d43 (patch)
tree81254ee34888dfb85e1d90249993645115bc0edd /Makefile
parentTODOs.md: Add #td-8876fc14-7f24-ebb1-4e60-adad79442005 (diff)
downloadeuandre.org-5ce6889258956754705f5ac140a376503d147d43.tar.gz
euandre.org-5ce6889258956754705f5ac140a376503d147d43.tar.xz
_plugins/generate-favicon.rb: Delete file, generate files in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
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