commit 207b9dfd4a861e92479c21cda6fd228f9185d300
Leonardo Taccari <iamleot@gmail.com>
2018-08-13 23:04:54 +0200
Always quote variables in {de,}install targets for consistency
Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 74a372c..a96f698 100644
--- a/Makefile
+++ b/Makefile
@@ -19,16 +19,16 @@ install: ${BIN}
@mkdir -p "${DESTDIR}${BINDIR}"
@cp -f clic "${DESTDIR}${BINDIR}/${BIN}"
@chmod 755 "${DESTDIR}${BINDIR}/${BIN}"
- @echo installing manual page to ${DESTDIR}${MANDIR}/man1
- @mkdir -p ${DESTDIR}${MANDIR}/man1
+ @echo installing manual page to "${DESTDIR}${MANDIR}/man1"
+ @mkdir -p "${DESTDIR}${MANDIR}/man1"
@cp -f clic.1 "${DESTDIR}${MANDIR}/man1/clic.1"
- @chmod 644 ${DESTDIR}${MANDIR}/man1/clic.1
+ @chmod 644 "${DESTDIR}${MANDIR}/man1/clic.1"
uninstall:
@echo removing executable file from "${DESTDIR}${PREFIX}/bin"
@rm -f "${DESTDIR}${BINDIR}/${BIN}"
- @echo removing manual page from ${DESTDIR}${MANDIR}/man1
- @rm -f ${DESTDIR}${MANDIR}/man1/clic.1
+ @echo removing manual page from "${DESTDIR}${MANDIR}/man1"
+ @rm -f "${DESTDIR}${MANDIR}/man1/clic.1"
clean:
rm -f "${BIN}" clic.o clic.eclh clic.cxx