diff options
| author | Joe Carstairs <me@joeac.net> | 2026-07-03 15:37:36 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-07-03 15:37:36 +0100 |
| commit | 16cc43ad282456f4c146b4b3474e2b8159c31e52 (patch) | |
| tree | 5d9f506616d8ef3de6c55ac0063bdbb71456bba5 | |
| parent | 3773af632c558bb058a72e43ac25762ae74630c8 (diff) | |
fix bin/pp again?
| -rw-r--r-- | http/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/http/Makefile b/http/Makefile index 51c93a1..68dfc28 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): src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files) +out/%.$(ext): bin/pp src/%$(if $(layout),.$(layout)).upp$(ext) $(layout_file) $(component_files) ./bin/mkws https://joeac.net "$$$$(realpath $$<)" endef define blog_rss_feed_rule = -out/$(blog)/rss.xml: src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*) +out/$(blog)/rss.xml: bin/pp src/$(blog)/rss.uppxml $(blog_src) $(wildcard bin/*) ./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: src/$(blog).upphtml $(blog_src) $(wildcard bin/*) +out/$(blog).html: bin/pp src/$(blog).upphtml $(blog_src) $(wildcard bin/*) ./bin/mkws https://joeac.net "$$(realpath src/$(blog).upphtml)" endef @@ -106,7 +106,7 @@ share/man/man1/pp.1: cp pp/pp.1 share/man/man1/pp.1 .PHONY: out -out: bin/pp $(out_deps) +out: $(out_deps) bin/pp: $(MAKE) --directory=pp && chmod +x pp/pp && cp pp/pp bin/pp |
