1
0

Don't copy LICENSE when install.

This commit is contained in:
Alexander Andreev 2023-05-13 16:35:34 +04:00
parent 8497efd6e1
commit 1692c24d03
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -32,7 +32,6 @@ install:
install -Dm 0755 bin/${TARGET}-clean ${DESTDIR}usr/bin/${TARGET}-clean install -Dm 0755 bin/${TARGET}-clean ${DESTDIR}usr/bin/${TARGET}-clean
install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/upload.yaml install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/upload.yaml
install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET} install -Dm 0644 configs/logrotate ${DESTDIR}etc/logrotate.d/${TARGET}
install -Dm 0644 LICENSE ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE
install -Dm 0644 init/systemd/${TARGET}.service ${DESTDIR}${SYSDDIR}/${TARGET}.service install -Dm 0644 init/systemd/${TARGET}.service ${DESTDIR}${SYSDDIR}/${TARGET}.service
install -Dm 0644 init/systemd/${TARGET}-clean.timer ${DESTDIR}${SYSDDIR}/${TARGET}-clean.timer install -Dm 0644 init/systemd/${TARGET}-clean.timer ${DESTDIR}${SYSDDIR}/${TARGET}-clean.timer
@ -44,7 +43,6 @@ uninstall:
rm ${DESTDIR}usr/bin/${TARGET} rm ${DESTDIR}usr/bin/${TARGET}
rm ${DESTDIR}usr/bin/${TARGET}-clean rm ${DESTDIR}usr/bin/${TARGET}-clean
rm ${DESTDIR}etc/logrotate.d/${TARGET} rm ${DESTDIR}etc/logrotate.d/${TARGET}
rm ${DESTDIR}usr/share/licenses/${TARGET}/LICENSE
rm ${DESTDIR}${SYSDDIR}/${TARGET}.service rm ${DESTDIR}${SYSDDIR}/${TARGET}.service
rm ${DESTDIR}${SYSDDIR}/${TARGET}-clean.timer rm ${DESTDIR}${SYSDDIR}/${TARGET}-clean.timer