From 3611b94ab6ecfae340479e21585a036ac342b4d8 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 19 May 2024 23:17:04 +0400 Subject: [PATCH] Added -p flag to install to preserve timestamps, also added -s flag to strip debug data of an executable . --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0846d55..5b55b4c 100644 --- a/Makefile +++ b/Makefile @@ -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}