aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4efb0104bebe6a0836de632c50cbcce16d26829d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See license for licensing details

PREFIX=/usr

install:
	mkdir -p ${DESTDIR}/etc
	sed 's#PREFIX#{PREFIX}#g' < inittab > ${DESTDIR}/etc/inittab
	chmod 644 ${DESTDIR}/etc/inittab
	install -Dm755 rc.boot ${DESTDIR}${PREFIX}/lib/init/rc.boot
	install -Dm755 rc.shutdown ${DESTDIR}${PREFIX}/lib/init/rc.shutdown

uninstall:
	rm -f ${DESTDIR}/etc/inittab
	rm -f ${DESTDIR}${PREFIX}/lib/init/rc.boot
	rm -f ${DESTDIR}${PREFIX}/lib/init/rc.shutdown