summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-17 09:10:37 +0100
committerJoe Carstairs <me@joeac.net>2026-06-17 09:10:37 +0100
commit6cdc0ad1e6c970e4dbb3fc97fb5f0298c0a309e2 (patch)
tree9782362d4267b47650cea1399973e6e0f2f6338c /http
parent65b3169d98c6c555e85ad1defc7413b78155c237 (diff)
Makefile: renames blog_rule macro
Diffstat (limited to 'http')
-rw-r--r--http/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/Makefile b/http/Makefile
index 165f1d7..cab4938 100644
--- a/http/Makefile
+++ b/http/Makefile
@@ -67,16 +67,16 @@ remove_layout_from_out_files = out_files := $$(subst $(1).upp,.,$$(out_files))
$(foreach layout,$(layouts),$(eval $(call remove_layout_from_out_files,.$(layout))))
$(eval $(call remove_layout_from_out_files,))
-define out_rule_for_ext_and_layout =
+define out_rule =
out/%.$(1): src/%$(2).upp$(1)
./bin/mkws https://joeac.net "$$$$(realpath $$<)"
endef
$(foreach ext,$(sort $(out_files_ext)),\
- $(eval $(call out_rule_for_ext_and_layout,$(ext),)))
+ $(eval $(call out_rule,$(ext),)))
$(foreach layout,$(layouts),\
$(foreach ext,$(sort $(out_files_ext)),\
- $(eval $(call out_rule_for_ext_and_layout,$(ext),.$(layout)))))
+ $(eval $(call out_rule,$(ext),.$(layout)))))
.PHONY: out
out: $(out_files)