21 lines
560 B
Makefile
21 lines
560 B
Makefile
.POSIX:
|
|
|
|
PREFIX = /usr
|
|
SYSCONFDIR = /etc
|
|
BINDIR = ${PREFIX}/bin
|
|
DATADIR = ${PREFIX}/share
|
|
|
|
install:
|
|
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
|
|
|
|
uninstall:
|
|
rm -f ${DESTDIR}${BINDIR}/tinyramfs
|
|
rm -rf ${DESTDIR}${DATADIR}/tinyramfs
|