drop chmod
This commit is contained in:
parent
601bca3510
commit
efbfe09094
21
Makefile
21
Makefile
@ -1,20 +1,19 @@
|
||||
.POSIX:
|
||||
|
||||
PREFIX = /usr
|
||||
SYSCONFDIR = /etc
|
||||
BINDIR = ${PREFIX}/bin
|
||||
DATADIR = ${PREFIX}/share
|
||||
|
||||
install:
|
||||
mkdir -p \
|
||||
${DESTDIR}${DATADIR}/tinyramfs/hooks \
|
||||
${DESTDIR}${SYSCONFDIR}/tinyramfs \
|
||||
${DESTDIR}${BINDIR}
|
||||
cp -R hooks/* ${DESTDIR}${DATADIR}/tinyramfs/hooks/
|
||||
cp init device-helper ${DESTDIR}${DATADIR}/tinyramfs
|
||||
chmod -R 755 ${DESTDIR}${DATADIR}/tinyramfs
|
||||
cp config ${DESTDIR}${SYSCONFDIR}/tinyramfs
|
||||
chmod 600 ${DESTDIR}${SYSCONFDIR}/tinyramfs/config
|
||||
cp tinyramfs ${DESTDIR}${BINDIR}/tinyramfs
|
||||
chmod 755 ${DESTDIR}${BINDIR}/tinyramfs
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user