diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -124,11 +124,13 @@ out/%.xml: content/%.md .cache/meta/%.json $(FEED_TEMPLATES_SRC) metadata/*.yaml | |||
124 | out/%/thumbnail.png: content/%/thumbnail.png | out | 124 | out/%/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 | ||
129 | out/%/thumbnail.jpg: content/%/thumbnail.jpg | out | 130 | out/%/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 | ||
134 | out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out | 136 | out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out |