From 04b8fe2821449a435703125632a887faaa69fbdb Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 22 May 2022 05:31:49 +0200 Subject: Makefile: Fix man page install Create the man page directory before installing it. Otherwise it fails to install. Also use 644 permissions on the man page as that's more appropriate. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40838a4..b160710 100644 --- a/Makefile +++ b/Makefile @@ -74,4 +74,6 @@ wajir_$(VERSION).tar.bz2: bundle wajir.asd src/*.lisp .PHONY: install install: bundle/bundled-local-projects/0000/wajir/wajir $(MAN_PAGE) install -m 755 bundle/bundled-local-projects/0000/wajir/wajir $(DESTDIR)/bin - install -m 755 $(MAN_PAGE) $(DESTDIR)/share/man/man1 + + install -d $(DESTDIR)/share/man/man1 + install -m 644 $(MAN_PAGE) $(DESTDIR)/share/man/man1 -- cgit v1.2.3