From 73c8c40dc76a4afdc81b1dbd938c27a0e4e13433 Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Mon, 13 Aug 2018 23:04:54 +0200 Subject: [PATCH 2/2] 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 -- 2.17.1