aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d78c21..ca20f99 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
PREFIX=/usr
INITDIR=${PREFIX}/lib/init
+MAN8=${PREFIX}/share/man/man8
VERSION=0.5.1
install:
@@ -13,6 +14,7 @@ install:
sed 's#INITDIR#${INITDIR}#g' < rc.shutdown > ${DESTDIR}${INITDIR}/rc.shutdown
chmod 755 ${DESTDIR}${INITDIR}/rc.boot ${DESTDIR}${INITDIR}/rc.shutdown
install -Dm644 README ${DESTDIR}${INITDIR}/README
+ install -Dm644 init.8 ${DESTDIR}${MAN8}/init.8
uninstall:
rm -f ${DESTDIR}/etc/init/rc.conf
@@ -21,11 +23,12 @@ uninstall:
rm -f ${DESTDIR}${INITDIR}/rc.shutdown
rm -f ${DESTDIR}${INITDIR}/rc.lib
rm -f ${DESTDIR}${INITDIR}/README
+ rm -f ${DESTDIR}${MAN8}/init.8
dist:
mkdir -p init-${VERSION}
cp LICENSE Makefile README rc.boot rc.conf rc.lib rc.local \
- rc.shutdown init-${VERSION}
+ rc.shutdown init.8 init-${VERSION}
tar -cf init-${VERSION}.tar init-${VERSION}
gzip init-${VERSION}.tar
rm -rf init-${VERSION}