1
0

Added logrotate file un/install to Makefile.

This commit is contained in:
Alexander Andreev 2022-05-24 23:42:39 +04:00
parent 77f9005ba4
commit ed5508cb9a
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -21,12 +21,14 @@ install:
install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET}
install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml
install -Dm 0644 LICENSE ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE
install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET}
install -Dm 0644 init/systemd/${TARGET}.service ${DESTDIR}${SYSDDIR}/${TARGET}.service
uninstall:
rm ${DESTDIR}usr/bin/${TARGET}
rm ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE
rm ${DESTDIR}etc/logrotate.d/${TARGET}
rm ${DESTDIR}${SYSDDIR}/${TARGET}.service