aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-10 16:35:06 +0200
committerMattias Andrée <maandree@kth.se>2021-08-10 16:35:06 +0200
commitd8be1341f161376e59fac259671a1109d5fd0c97 (patch)
tree6e8539568a684bcee9cb30b318d28f4392c07d3e
parentFix typo (diff)
downloadgpp-d8be1341f161376e59fac259671a1109d5fd0c97.tar.gz
gpp-d8be1341f161376e59fac259671a1109d5fd0c97.tar.bz2
gpp-d8be1341f161376e59fac259671a1109d5fd0c97.tar.xz
Fix installation path of man page
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5aff12f..f4a2a6f 100644
--- a/Makefile
+++ b/Makefile
@@ -17,11 +17,11 @@ install: gpp
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man"
cp -- gpp "$(DESTDIR)$(PREFIX)/bin/gpp"
- cp -- gpp.1 "$(DESTDIR)$(MANPREFIX)/man/gpp.1"
+ cp -- gpp.1 "$(DESTDIR)$(MANPREFIX)/man1/gpp.1"
uninstall:
-rm -- "$(DESTDIR)$(PREFIX)/bin/gpp"
- -rm -- "$(DESTDIR)$(MANPREFIX)/man/gpp.1"
+ -rm -- "$(DESTDIR)$(MANPREFIX)/man1/gpp.1"
clean:
-rm -rf -- gpp *.o *.su