commit d4d756d997adf3f5b29d200ea3376bea195fd4c8
parent 7df5199a4e0dd050e5f009f6e571b26b0fca76f4
Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 4 Mar 2020 09:12:44 +0300
move manpages to their own directories
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,15 +1,15 @@
# See LICENSE for copyright information
PREFIX = /usr/local
BINDIR = ${PREFIX}/bin
-MANPREFIX = ${PREFIX}/share/man
+SHAREDIR = ${PREFIX}/share
+MANPREFIX = ${SHAREDIR}/man
LINK = runsyssv svctl
install:
install -Dm755 sysmgr ${DESTDIR}${BINDIR}/sysmgr
for link in ${LINK} ; do ln -sf sysmgr ${DESTDIR}${BINDIR}/$$link ; done
- install -Dm644 -t ${DESTDIR}${MANPREFIX}/man1 svctl.1
- install -Dm644 -t ${DESTDIR}${MANPREFIX}/man8 sysmgr.8
+ install -Dm644 -t ${DESTDIR}${SHAREDIR} man
uninstall:
rm -rf ${DESTDIR}${BINDIR}/sysmgr
diff --git a/svctl.1 b/man/man1/svctl.1
diff --git a/sysmgr.8 b/man/man8/sysmgr.8