about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-05 17:39:12 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-05 17:46:42 +0200
commitd9ab24c2f4555e9692d4c0d9794a1d3dd8417005 (patch)
tree38c07ba8a2a5016d0621898569776c7a1b963bde
parentaf8f0d6b5ffacff077cbcead581379c532876fa4 (diff)
downloadchawan-d9ab24c2f4555e9692d4c0d9794a1d3dd8417005.tar.gz
Makefile: fix missing mkdir calls in install
Thanks @onemoresuza for noticing.
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 86d742fe..7a6d161a 100644
--- a/Makefile
+++ b/Makefile
@@ -250,7 +250,9 @@ install:
 	install -m755 "$(OUTDIR_CGI_BIN)/spartan" $(LIBEXECDIR_CHAWAN)/cgi-bin
 	install -m755 "$(OUTDIR_LIBEXEC)/urldec" $(LIBEXECDIR_CHAWAN)/urldec
 	install -m755 "$(OUTDIR_LIBEXEC)/urlenc" $(LIBEXECDIR_CHAWAN)/urlenc
+	mkdir -p "$(DESTDIR)$(MANPREFIX1)"
 	for f in $(MANPAGES1); do install -m644 "$$f" "$(DESTDIR)$(MANPREFIX1)"; done
+	mkdir -p "$(DESTDIR)$(MANPREFIX5)"
 	for f in $(MANPAGES5); do install -m644 "$$f" "$(DESTDIR)$(MANPREFIX5)"; done
 
 .PHONY: uninstall