diff options
author | Volpeon <git@volpeon.ink> | 2022-07-19 10:55:55 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-19 10:55:55 +0200 |
commit | 3221cba799fa7cd9dd13aac4f8815e182b096e2c (patch) | |
tree | 1f266ad1f86a00fb9fba0f21f5f6e461a15e98f4 | |
parent | List emojis with art (diff) | |
download | volpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.tar.gz volpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.tar.bz2 volpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.zip |
Fix build script
-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 |