From 209cbd93678a1b7f8c783540cee871c19510a236 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 16 Oct 2024 21:30:07 +0200 Subject: Makefile: install man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c9fea6a..75b37db 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,13 @@ radharc: $(OBJ) install: radharc mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" - cp -- radharc "$(DESTDIR)$(PREFIX)/bin" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" + cp -- radharc "$(DESTDIR)$(PREFIX)/bin/" + cp -- radharc.1 "$(DESTDIR)$(MANPREFIX)/man1/" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/bin/radharc" + -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/radharc.1" clean: -rm -f -- radharc *.o -- cgit v1.2.3-70-g09d2