summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cd65a62..6801970 100644
--- a/Makefile
+++ b/Makefile
@@ -124,11 +124,13 @@ out/%.xml: content/%.md .cache/meta/%.json $(FEED_TEMPLATES_SRC) metadata/*.yaml
124out/%/thumbnail.png: content/%/thumbnail.png | out 124out/%/thumbnail.png: content/%/thumbnail.png | out
125 $(info [THMB] $< -> $@) 125 $(info [THMB] $< -> $@)
126 126
127 mkdir -p $(@D)
127 convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" png:- | pngquant - > "$@" 128 convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" png:- | pngquant - > "$@"
128 129
129out/%/thumbnail.jpg: content/%/thumbnail.jpg | out 130out/%/thumbnail.jpg: content/%/thumbnail.jpg | out
130 $(info [THMB] $< -> $@) 131 $(info [THMB] $< -> $@)
131 132
133 mkdir -p $(@D)
132 convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" ppm:- | cjpeg -quality 80 > "$@" 134 convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" ppm:- | cjpeg -quality 80 > "$@"
133 135
134out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out 136out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out