2020-08-24 19:39:33 +05:30
|
|
|
.POSIX:
|
|
|
|
|
2020-04-17 19:44:04 +05:30
|
|
|
PREFIX = /usr
|
|
|
|
SYSCONFDIR = /etc
|
|
|
|
BINDIR = ${PREFIX}/bin
|
|
|
|
DATADIR = ${PREFIX}/share
|
|
|
|
|
|
|
|
install:
|
2020-08-24 19:39:33 +05:30
|
|
|
mkdir -p ${DESTDIR}${SYSCONFDIR}/tinyramfs \
|
|
|
|
${DESTDIR}${DATADIR}/tinyramfs \
|
|
|
|
${DESTDIR}${BINDIR}
|
|
|
|
cp config ${DESTDIR}${SYSCONFDIR}/tinyramfs
|
|
|
|
cp -R hooks ${DESTDIR}${DATADIR}/tinyramfs
|
|
|
|
cp device-helper ${DESTDIR}${DATADIR}/tinyramfs
|
|
|
|
cp init ${DESTDIR}${DATADIR}/tinyramfs
|
|
|
|
cp tinyramfs ${DESTDIR}${BINDIR}/tinyramfs
|
2020-04-17 19:44:04 +05:30
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f ${DESTDIR}${BINDIR}/tinyramfs
|
|
|
|
rm -rf ${DESTDIR}${DATADIR}/tinyramfs
|