webp resizing rules
This commit is contained in:
parent
c7d51685be
commit
57627e2af6
1 changed files with 10 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -66,6 +66,16 @@ $(TMPDIR)/%_big.jpg: $(DATADIR)/%.jpg
|
||||||
$(call resize,$(BIG),$(BIG),>)
|
$(call resize,$(BIG),$(BIG),>)
|
||||||
|
|
||||||
|
|
||||||
|
$(TMPDIR)/%_small.webp: $(DATADIR)/%.webp
|
||||||
|
$(call resize,$(SMALL),$(SMALL),^,-gravity center -crop 1:1+0)
|
||||||
|
|
||||||
|
$(TMPDIR)/%_med.webp: $(DATADIR)/%.webp
|
||||||
|
$(call resize,$(MEDW),$(MEDH),>)
|
||||||
|
|
||||||
|
$(TMPDIR)/%_big.webp: $(DATADIR)/%.webp
|
||||||
|
$(call resize,$(BIG),$(BIG),>)
|
||||||
|
|
||||||
|
|
||||||
$(MAKEPAGES): make-pages/*.hs make-pages/make-pages.cabal
|
$(MAKEPAGES): make-pages/*.hs make-pages/make-pages.cabal
|
||||||
echo "[make-pages]"
|
echo "[make-pages]"
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
|
|
Loading…
Reference in a new issue