diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-21 11:00:20 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-21 11:00:20 +0300 |
commit | 69fcae39d94d526771e3715f1ce404e8906dfc5f (patch) | |
tree | 9057d01f2bdf0dd82e9416fb82788057f3e29880 /Makefile | |
parent | 391be3c7b8459d74c102ce0059a3a4d0dbe4f188 (diff) | |
download | init-69fcae39d94d526771e3715f1ce404e8906dfc5f.tar.gz |
add init manpage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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} |