diff -r 9bd017df749b -r 8b84e73af50e tools/Makefile --- a/tools/Makefile Sat Feb 25 10:53:42 2023 +0100 +++ b/tools/Makefile Thu Mar 14 17:07:09 2024 +0100 @@ -2,7 +2,7 @@ include ../Makefile.global -OTHER = Makefile init.debian init.slackware setup.slackware +OTHER = Makefile init.debian init.slackware ############################################################################# @@ -22,10 +22,8 @@ [ -x /bin/systemctl ] && /bin/systemctl daemon-reload ; \ echo "[ -x /bin/systemctl ] && /bin/systemctl daemon-reload" ; \ elif [ -f /etc/slackware-version ]; then \ - ${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/thermferm ; \ - echo "${INSTALL} -c -g root -o root -m 0755 init.slackware /etc/rc.d/init.d/thermferm" ; \ - ${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/lib/pkgtools/setup/setup.thermferm ; \ - echo "${INSTALL} -c -g root -o root -m 0755 setup.slackware /var/lib/pkgtools/setup/setup.thermferm" ; \ + ${INSTALL} -c -g root -o root -m 0755 init.slackware ${DESTDIR}/etc/rc.d/rc.thermferm ; \ + echo "${INSTALL} -c -g root -o root -m 0755 init.slackware ${DESTDIR}/etc/rc.d/rc.thermferm" ; \ else \ echo "Unsupported distribution" ; \ fi