summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-07-19 10:55:55 +0200
committerVolpeon <git@volpeon.ink>2022-07-19 10:55:55 +0200
commit3221cba799fa7cd9dd13aac4f8815e182b096e2c (patch)
tree1f266ad1f86a00fb9fba0f21f5f6e461a15e98f4
parentList emojis with art (diff)
downloadvolpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.tar.gz
volpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.tar.bz2
volpeon.ink-3221cba799fa7cd9dd13aac4f8815e182b096e2c.zip
Fix build script
-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