tinyramfs/Makefile

15 lines
463 B
Makefile
Raw Normal View History

2020-04-17 19:44:04 +05:30
PREFIX = /usr
SYSCONFDIR = /etc
BINDIR = ${PREFIX}/bin
DATADIR = ${PREFIX}/share
install:
2020-04-21 21:07:53 +05:30
install -Dm600 config ${DESTDIR}${SYSCONFDIR}/tinyramfs/config
install -Dm755 tinyramfs ${DESTDIR}${BINDIR}/tinyramfs
install -Dm755 init ${DESTDIR}${DATADIR}/tinyramfs/init
install -Dm755 device-helper ${DESTDIR}${DATADIR}/tinyramfs/device-helper
2020-04-17 19:44:04 +05:30
uninstall:
rm -f ${DESTDIR}${BINDIR}/tinyramfs
rm -rf ${DESTDIR}${DATADIR}/tinyramfs