diff --git a/Makefile b/Makefile index c2c47cc..6359ca3 100755 --- a/Makefile +++ b/Makefile @@ -24,17 +24,17 @@ run: install: install -Dm 0755 bin/${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET} install -Dm 0755 tools/radioctl ${DESTDIR}${PREFIX}/bin/${TARGET}ctl - install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml - install -Dm 0644 configs/radio.liq ${DESTDIR}etc/dwelling/radio.liq + install -Dm 0644 configs/config.yaml ${DESTDIR}/etc/dwelling/radio.yaml + install -Dm 0644 configs/radio.liq ${DESTDIR}/etc/dwelling/radio.liq install -Dm 0644 configs/radio.vars.liq ${DESTDIR}etc/dwelling/radio.vars.liq - install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET} + install -Dm 0644 configs/logrotate ${DESTDIR}/etc/logrotate.d/${TARGET} - install -Dm 0644 init/systemd.service ${DESTDIR}${SYSDDIR}/${TARGET}.service + install -Dm 0644 init/systemd.service ${DESTDIR}/${SYSDDIR}/${TARGET}.service uninstall: rm ${DESTDIR}${PREFIX}/bin/${TARGET} rm ${DESTDIR}${PREFIX}/bin/${TARGET}ctl - rm ${DESTDIR}etc/dwelling/radio.liq - rm ${DESTDIR}etc/logrotate.d/${TARGET} + rm ${DESTDIR}/etc/dwelling/radio.liq + rm ${DESTDIR}/etc/logrotate.d/${TARGET} rm ${DESTDIR}${SYSDDIR}/${TARGET}.service \ No newline at end of file