aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2013-03-05 10:14:26 -0500
committermutantturkey <mutantturke@gmail.com>2013-03-05 10:14:26 -0500
commit65a018a190ed68181de73defe0841c0caa50c8dc (patch)
treeabe4285c1b4449a7f4edc22b7d8d71db1532992d
parente2f527c3f0e557b6d59d8c6884d9ae1666a93109 (diff)
Added manpage to Makefile
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 641e0b0..c243a48 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,9 @@ dist: clean
@rm -rf svte-${VERSION}
install: all
+ @echo installing manpage to ${DESTDIR}${MANPREFIX}/man1
+ @mkdir -p ${DESTDIR}${MANPREFIX}/man1
+ @cp -f svte.1 ${DESTDIR}${MANPREFIX}/man1/svte.1
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f svte ${DESTDIR}${PREFIX}/bin
@@ -62,6 +65,8 @@ install: all
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/svte
+ @echo removing manpage from ${DESTDIR}${MANPREFIX}/man1/
+ @rm -f ${DESTDIR}${MANPREFIX}/man1/svte.1
.PHONY: all options clean dist install uninstall