fix bug in Makefile out_rule

This commit is contained in:
2026-06-17 18:35:39 +01:00
parent e506f7c2e6
commit 506d1adfcc
+1 -1
View File
@@ -33,7 +33,7 @@ blog_src = $(patsubst \
$(shell find -L "blogs/$(blog)" -type f -and -name *.$(BLOG_EXT_$(blog))))
define out_rule =
out/%.$(ext): src/%$(layout).upp$(ext)
out/%.$(ext): src/%$(if $(layout),.$(layout)).upp$(ext)
./bin/mkws https://joeac.net "$$$$(realpath $$<)"
endef