aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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