makefile-guildeline.txt: loop over documentation files upon uninstall - bitreich-style - Style guide for programmers. HTML git clone git://bitreich.org/bitreich-style DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit ffb593e6770d133502e54454b2e6d026baab8f26 DIR parent f7995ee053d259bd50ee3776f50949391ebecf8d HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Wed, 4 Nov 2020 14:23:49 +0100 makefile-guildeline.txt: loop over documentation files upon uninstall Diffstat: M c/makefile-guideline.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/c/makefile-guideline.txt b/c/makefile-guideline.txt @@ -262,7 +262,7 @@ Explicitly set permissions for executable files and for documentation. 71 # removing executable files. 72 for f in ${BIN}; do rm -f "${DESTDIR}${PREFIX}/bin/$$f"; done 73 # removing example files. - 74 rm -f "${DESTDIR}${DOCPREFIX}/README" + 74 for d in ${DOC}; do rm -f "${DESTDIR}${DOCPREFIX}/$$d"; done 75 -rmdir "${DESTDIR}${DOCPREFIX}"