From 506d1adfccbb494be598e08f8d45aaae641eb6d2 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 17 Jun 2026 18:35:39 +0100 Subject: [PATCH] fix bug in Makefile out_rule --- http/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/Makefile b/http/Makefile index 2818de2..05469d6 100644 --- a/http/Makefile +++ b/http/Makefile @@ -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