Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: uninstall LICENSE, on install chmod $DOC files - json2tsv - JSON to T…
git clone git://git.codemadness.org/json2tsv
Log
Files
Refs
README
LICENSE
---
commit 58f7bb60f4e785121d30b808ce475407e4b95b5b
parent 5b92fe10218579d7dd0c725c043de425d4076a9c
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 4 Nov 2020 17:55:05 +0100
Makefile: uninstall LICENSE, on install chmod $DOC files
Thanks adc!
Diffstat:
M Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/Makefile b/Makefile
@@ -62,6 +62,7 @@ install: all
# installing example files.
mkdir -p "${DESTDIR}${DOCPREFIX}"
cp -f ${DOC} "${DESTDIR}${DOCPREFIX}"
+ for d in ${DOC}; do chmod 644 "${DESTDIR}${DOCPREFIX}/$$d"; done
# installing manual pages for general commands: section 1.
mkdir -p "${DESTDIR}${MANPREFIX}/man1"
cp -f ${MAN1} "${DESTDIR}${MANPREFIX}/man1"
@@ -71,7 +72,7 @@ uninstall:
# removing executable files.
for f in ${BIN}; do rm -f "${DESTDIR}${PREFIX}/bin/$$f"; done
# removing example files.
- rm -f "${DESTDIR}${DOCPREFIX}/README"
+ for d in ${DOC}; do rm -f "${DESTDIR}${DOCPREFIX}/$$d"; done
-rmdir "${DESTDIR}${DOCPREFIX}"
# removing manual pages.
for m in ${MAN1}; do rm -f "${DESTDIR}${MANPREFIX}/man1/$$m"; done
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.