scripts/Makefile: make symlinks absolute instead of relative
This closes #142.
This commit is contained in:
parent
5b7667af32
commit
199a210d2f
@ -17,12 +17,12 @@ endif
|
|||||||
_installafter:
|
_installafter:
|
||||||
ifeq (${OS},Linux)
|
ifeq (${OS},Linux)
|
||||||
${INSTALL} -d ${DESTDIR}${SBINDIR}
|
${INSTALL} -d ${DESTDIR}${SBINDIR}
|
||||||
ln -sf ../${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat
|
ln -sf ${DIR}/rc-sstat ${DESTDIR}/${SBINDIR}/rc-sstat
|
||||||
ifeq (${MKSYSVINIT},yes)
|
ifeq (${MKSYSVINIT},yes)
|
||||||
ln -sf ../${DIR}/halt ${DESTDIR}/${SBINDIR}/halt
|
ln -sf ${DIR}/halt ${DESTDIR}/${SBINDIR}/halt
|
||||||
ln -sf ../${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff
|
ln -sf ${DIR}/poweroff ${DESTDIR}/${SBINDIR}/poweroff
|
||||||
ln -sf ../${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot
|
ln -sf ${DIR}/reboot ${DESTDIR}/${SBINDIR}/reboot
|
||||||
ln -sf ../${DIR}/shutdown ${DESTDIR}/${SBINDIR}/shutdown
|
ln -sf openrc-shutdown ${DESTDIR}/${SBINDIR}/shutdown
|
||||||
ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init
|
ln -sf openrc-init ${DESTDIR}/${SBINDIR}/init
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user