commit 309c1b9fe98a269cb2925c7beca15c06e350faa8 parent 0a3658d41f6a839560eb6f4c3d6b28a541713501 Author: Cem Keylan <cem@ckyln.com> Date: Tue, 24 Mar 2020 14:21:38 +0300 Makefile: fix manpages and install sysmgr-needs Diffstat:
M | Makefile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -7,12 +7,13 @@ MANPREFIX = ${SHAREDIR}/man LINK = runsyssv svctl install: - install -Dm755 sysmgr ${DESTDIR}${BINDIR}/sysmgr + install -Dm755 -t ${DESTDIR}${BINDIR} sysmgr utils/sysmgr-needs for link in ${LINK} ; do ln -sf sysmgr ${DESTDIR}${BINDIR}/$$link ; done - install -Dm644 -t ${DESTDIR}${SHAREDIR} man + install -Dm644 -t ${DESTDIR}${MANPREFIX}/man1 man/svctl.1 + install -Dm644 -t ${DESTDIR}${MANPREFIX}/man8 man/sysmgr.8 uninstall: - rm -rf ${DESTDIR}${BINDIR}/sysmgr + rm -f ${DESTDIR}${BINDIR}/sysmgr ${DESTDIR}${BINDIR}/sysmgr-needs for link in ${LINK} ; do unlink ${DESTDIR}${BINDIR}/$$link ; done rm -f \ ${DESTDIR}${MANPREFIX}/man1/svctl.1 \