diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-25 06:50:37 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-25 11:17:01 +0100 |
| commit | 78fe3e79567c4b06abc58b29c7e7882e8adc9d78 (patch) | |
| tree | 44a6058da376fbc260358f092e70c7b328672311 /http | |
| parent | ad8a8c3cac2235aef8e13d2fcc50161026364c37 (diff) | |
bin/pp is executable and a dependency of out rule in http/Makefile
Diffstat (limited to 'http')
| -rw-r--r-- | http/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/http/Makefile b/http/Makefile index 511f523..45dba95 100644 --- a/http/Makefile +++ b/http/Makefile @@ -94,17 +94,17 @@ endef # RULES # ######### -all: bin/pp $(blogs) public out vendor +all: $(blogs) public out vendor $(MAKE) out # if blog posts have been pruned, outfiles must be re-calculated -bin/pp: - cd pp && $(MAKE) && cp pp ../bin/pp - share/man/man1/pp.1: cp pp/pp.1 share/man/man1/pp.1 .PHONY: out -out: $(out_deps) +out: bin/pp $(out_deps) + +bin/pp: + cd pp && $(MAKE) && chmod +x pp && cp pp ../bin/pp $(foreach ext,$(sort $(out_deps_ext)),\ $(eval $(out_rule))) |
