From 3221cba799fa7cd9dd13aac4f8815e182b096e2c Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 19 Jul 2022 10:55:55 +0200 Subject: Fix build script --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') 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 out/%/thumbnail.png: content/%/thumbnail.png | out $(info [THMB] $< -> $@) + mkdir -p $(@D) convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" png:- | pngquant - > "$@" out/%/thumbnail.jpg: content/%/thumbnail.jpg | out $(info [THMB] $< -> $@) + mkdir -p $(@D) convert -thumbnail 550x280^ -gravity center -extent 550x280 "$<" ppm:- | cjpeg -quality 80 > "$@" out/%.woff2: assets/fonts/%.ttf assets/fonts/glyphs.txt | out -- cgit v1.2.3-70-g09d2