summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLukas Fleischer <info@cryptocrack.de>2011-05-10 21:21:19 +0200
committerLukas Fleischer <info@cryptocrack.de>2011-05-10 21:43:24 +0200
commit9763cdebd26e76f2742cda6ae85a331c9a17dbb2 (patch)
tree903929c1ee5f324f04701b9041384921f1558cd4 /man
parent8c6c487b24403cf4d614fe739a61cd5e02ee752d (diff)
downloadlibfaketime-9763cdebd26e76f2742cda6ae85a331c9a17dbb2.tar.gz
Use a separate Makefile for man pages.
* Create separate "install" and "uninstall" targets for man pages. * Add man page targets to the shortcut Makefile. Signed-off-by: Lukas Fleischer <info@cryptocrack.de>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/Makefile b/man/Makefile
new file mode 100644
index 0000000..39950ee
--- /dev/null
+++ b/man/Makefile
@@ -0,0 +1,12 @@
+PREFIX = /usr/local
+
+all:
+
+install:
+ cp faketime.1 "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
+ gzip "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
+
+uninstall:
+ rm -f "${DESTDIR}${PREFIX}/share/man/man1/faketime.1.gz"
+
+.PHONY: all install uninstall