add man page about hooks

This commit is contained in:
illiliti
2020-09-04 15:07:55 +03:00
parent 9670abfc33
commit 149b88625d
4 changed files with 285 additions and 3 deletions

View File

@@ -9,16 +9,19 @@ install:
mkdir -p ${DESTDIR}${DATADIR}/tinyramfs \
${DESTDIR}${MANDIR}/man5 \
${DESTDIR}${MANDIR}/man8 \
${DESTDIR}${MANDIR}/man7 \
${DESTDIR}${BINDIR}
cp -R hooks ${DESTDIR}${DATADIR}/tinyramfs
cp device-helper ${DESTDIR}${DATADIR}/tinyramfs
cp init ${DESTDIR}${DATADIR}/tinyramfs
cp tinyramfs ${DESTDIR}${BINDIR}/tinyramfs
cp docs/tinyramfs.8 ${DESTDIR}${MANDIR}/man8
cp docs/tinyramfs.hooks.7 ${DESTDIR}${MANDIR}/man7
cp docs/tinyramfs.config.5 ${DESTDIR}${MANDIR}/man5
uninstall:
rm -f ${DESTDIR}${BINDIR}/tinyramfs
rm -rf ${DESTDIR}${DATADIR}/tinyramfs
rm -f ${DESTDIR}${MANDIR}/man8/tinyramfs.8
rm -f ${DESTDIR}${MANDIR}/man7/tinyramfs.hooks.7
rm -f ${DESTDIR}${MANDIR}/man5/tinyramfs.config.5