summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-09-08 08:17:43 +0100
committerJoe Carstairs <me@joeac.net>2026-09-08 08:17:43 +0100
commit79988a5e5cd7bd219a5278d44db64d49e764a747 (patch)
tree4ada847e5fb83503c61b0fc4708406ecabe3d6dc /http
parent95bc7df904a6989a00c0ea4f58481d4e9513b7f1 (diff)
http: mkdir out before doing anything else
Diffstat (limited to 'http')
-rw-r--r--http/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/http/Makefile b/http/Makefile
index 4c50da8..c3034a1 100644
--- a/http/Makefile
+++ b/http/Makefile
@@ -99,14 +99,17 @@ endef
# RULES #
#########
-all: $(blogs) public out vendor
+all: out $(blogs) public build vendor
$(MAKE) out # if blog posts have been pruned, outfiles must be re-calculated
+out:
+ mkdir out
+
share/man/man1/pp.1:
cp pp/pp.1 share/man/man1/pp.1
-.PHONY: out
-out: $(out_deps)
+.PHONY: build
+build: $(out_deps)
bin/pp:
$(MAKE) --directory=pp && chmod +x pp/pp && cp pp/pp bin/pp