add Makefile
This commit is contained in:
parent
5b738abb41
commit
b59f93c67a
14
Makefile
Normal file
14
Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
PREFIX = /usr
|
||||||
|
SYSCONFDIR = /etc
|
||||||
|
BINDIR = ${PREFIX}/bin
|
||||||
|
DATADIR = ${PREFIX}/share
|
||||||
|
|
||||||
|
install:
|
||||||
|
install -Dm600 config ${DESTDIR}${SYSCONFDIR}/tinyramfs/config
|
||||||
|
install -Dm755 tinyramfs ${DESTDIR}${BINDIR}/tinyramfs
|
||||||
|
install -Dm755 usr/share/tinyramfs/init ${DESTDIR}${DATADIR}/tinyramfs/init
|
||||||
|
install -Dm755 usr/share/tinyramfs/device-helper ${DESTDIR}${DATADIR}/tinyramfs/device-helper
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -f ${DESTDIR}${BINDIR}/tinyramfs
|
||||||
|
rm -rf ${DESTDIR}${DATADIR}/tinyramfs
|
Loading…
Reference in New Issue
Block a user