~cemkeylan/shinit

11c4f9b3a6c6665455ec0c3c929843c167fa6615 — Cem Keylan 3 years ago 0fa554b 1.0.0
makefile: use POSIX commands
1 files changed, 5 insertions(+), 3 deletions(-)

M Makefile
M Makefile => Makefile +5 -3
@@ 2,9 2,11 @@ PREFIX = /usr/local
BINDIR = ${PREFIX}/bin

install:
	install -Dm755 shinit   ${DESTDIR}${BINDIR}/shinit
	install -Dm755 poweroff ${DESTDIR}${BINDIR}/poweroff
	ln -sf         poweroff ${DESTDIR}${BINDIR}/reboot
	mkdir -p ${DESTDIR}${BINDIR}
	cp shinit poweroff ${DESTDIR}${BINDIR}
	chmod 755 ${DESTDIR}${BINDIR}/shinit
	chmod 755 ${DESTDIR}${BINDIR}/poweroff
	ln -sf poweroff ${DESTDIR}${BINDIR}/reboot

uninstall:
	rm -f ${DESTDIR}${BINDIR}/shinit \