From 5b7667af32effddf867a5d021c66d43f0645d374 Mon Sep 17 00:00:00 2001 From: udeved Date: Fri, 9 Jun 2017 21:58:59 +0200 Subject: scripts/Makefile: respect SBINDIR with MKSYSVINIT This is for #142. --- scripts/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index faa46b0e..5cca07bc 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -19,11 +19,11 @@ ifeq (${OS},Linux) ${INSTALL} -d ${DESTDIR}${SBINDIR} ln -sf ../${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat ifeq (${MKSYSVINIT},yes) - ln -sf ../${DIR}/halt ${DESTDIR}/sbin/halt - ln -sf ../${DIR}/poweroff ${DESTDIR}/sbin/poweroff - ln -sf ../${DIR}/reboot ${DESTDIR}/sbin/reboot - ln -sf ../${DIR}/shutdown ${DESTDIR}/sbin/shutdown - ln -sf openrc-init ${DESTDIR}/sbin/init + ln -sf ../${DIR}/halt ${DESTDIR}/${SBINDIR}/halt + ln -sf ../${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff + ln -sf ../${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot + ln -sf ../${DIR}/shutdown ${DESTDIR}/${SBINDIR}/shutdown + ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init endif endif -- cgit v1.2.3