Added -p flag to install to preserve timestamps, also added -s flag to strip debug data of an executable .

This commit is contained in:
Alexander Andreev 2024-05-19 23:17:04 +04:00
parent 00f15ca913
commit 3611b94ab6
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -16,8 +16,8 @@ clean:
rm -f ${TARGET}
install: | ${TARGET}
install -Dm755 ${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET}
install -Dm644 LICENSE ${DESTDIR}${PREFIX}/share/licenses/${TARGET}/LICENSE
install -spDm755 ${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET}
install -pDm644 LICENSE ${DESTDIR}${PREFIX}/share/licenses/${TARGET}/LICENSE
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/${TARGET}