From 78fe3e79567c4b06abc58b29c7e7882e8adc9d78 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Thu, 25 Jun 2026 06:50:37 +0100 Subject: [PATCH] bin/pp is executable and a dependency of out rule in http/Makefile --- http/Makefile | 10 +++++----- 1 file 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)))