support jpg

This commit is contained in:
Rhiannon Morris 2020-09-13 22:11:21 +02:00
parent 3fc7476f0a
commit 2a9e9cfa7b
1 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,13 @@ $(TMPDIR)/%_med.png: $(DATADIR)/%.png
$(call resize,$(MEDW),$(MEDH),>)
$(TMPDIR)/%_small.jpg: $(DATADIR)/%.jpg
$(call resize,$(SMALL),$(SMALL),^,-gravity center -crop 1:1+0)
$(TMPDIR)/%_med.jpg: $(DATADIR)/%.jpg
$(call resize,$(MEDW),$(MEDH),>)
$(MAKEPAGES): make-pages/*.hs make-pages/make-pages.cabal
echo "[make-pages]"
mkdir -p $(dir $@)