From 89261751eb5bdca404901298bf154e7d6f3c1799 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 22 May 2022 06:27:18 +0200 Subject: Makefile: Remove filenames from install destinations Install to directories instead of filenames. We don't need the filenames, and on top of that, `$(MAN_PAGE)` was wrong, as it includes the "doc/" prefix. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fdec23f..2601cad 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ 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)$(bindir)/wajir + install -m 755 bundle/bundled-local-projects/0000/wajir/wajir $(DESTDIR)$(bindir)/ install -d $(DESTDIR)$(man1dir) - install -m 644 $(MAN_PAGE) $(DESTDIR)$(man1dir)/$(MAN_PAGE) + install -m 644 $(MAN_PAGE) $(DESTDIR)$(man1dir)/ -- cgit v1.2.3