aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-16 21:30:07 +0200
committerMattias Andrée <m@maandree.se>2024-10-16 21:30:07 +0200
commit209cbd93678a1b7f8c783540cee871c19510a236 (patch)
treeffffc030c6ff021f9abfab18172d98e97a0a2799 /Makefile
parentuse CC=c99 (diff)
downloadradharc-master.tar.gz
radharc-master.tar.bz2
radharc-master.tar.xz
Makefile: install man pageHEAD1.0.2master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'Makefile')
-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