summaryrefslogtreecommitdiff
path: root/http/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 15:40:15 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 15:40:15 +0100
commitd29e120c72de2c2a9a497bf9589ff985d1d247ef (patch)
tree70a1f650fccbd57750f8ee28ebe352fb69097997 /http/Makefile
parent16cc43ad282456f4c146b4b3474e2b8159c31e52 (diff)
...but for real this time
Diffstat (limited to 'http/Makefile')
-rw-r--r--http/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/Makefile b/http/Makefile
index 68dfc28..4c50da8 100644
--- a/http/Makefile
+++ b/http/Makefile
@@ -40,12 +40,12 @@ default_layout_file = $(if \
layout_file = $(if $(layout),share/layouts/$(layout).layout.upp$(ext),$(default_layout_file))
define out_rule =
-out/%.$(ext): bin/pp src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files)
+out/%.$(ext): src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files) bin/pp
./bin/mkws https://joeac.net "$$$$(realpath $$<)"
endef
define blog_rss_feed_rule =
-out/$(blog)/rss.xml: bin/pp src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*)
+out/$(blog)/rss.xml: src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*) bin/pp
./bin/mkws https://joeac.net "$$(realpath src/$(blog)/rss.uppxml)"
endef
@@ -64,7 +64,7 @@ $(blog_post_target): $(blog_post_src) $(let ext,html,$(layout_file) $(component_
endef
define blog_index_rule =
-out/$(blog).html: bin/pp src/$(blog).upphtml $(blog_src) $(wildcard bin/*)
+out/$(blog).html: src/$(blog).upphtml $(blog_src) $(wildcard bin/*) bin/pp
./bin/mkws https://joeac.net "$$(realpath src/$(blog).upphtml)"
endef