[hackers] [farbfeld] Quote paths in Makefile || FRIGN
commit 37279aea00503196cfb5e008b66ced8ec8043e1f
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue Jan 5 17:13:38 2016 +0100
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Tue Jan 5 17:14:02 2016 +0100
Quote paths in Makefile
Thanks quinq for reporting this!
diff --git a/Makefile b/Makefile
index cfc4fe8..46dcefc 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -19,21 +19,21 @@ clean:
install: all
_AT_echo installing into ${DESTDIR}${PREFIX}/bin
- _AT_mkdir -p ${DESTDIR}${PREFIX}/bin
- _AT_cp -f 2ff ${BIN} ${DESTDIR}${PREFIX}/bin
- _AT_echo installing manpages into ${DESTDIR}${MANPREFIX}
- _AT_mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- _AT_cp -f $(MAN1) $(DESTDIR)$(MANPREFIX)/man1
- _AT_cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN1)
- _AT_mkdir -p $(DESTDIR)$(MANPREFIX)/man5
- _AT_cp -f $(MAN5) $(DESTDIR)$(MANPREFIX)/man5
- _AT_cd $(DESTDIR)$(MANPREFIX)/man5 && chmod 644 $(MAN5)
+ _AT_mkdir -p "${DESTDIR}${PREFIX}/bin"
+ _AT_cp -f 2ff ${BIN} "${DESTDIR}${PREFIX}/bin"
+ _AT_echo installing manpages into ${DESTDIR}${MANPREFIX}
+ _AT_mkdir -p "$(DESTDIR)$(MANPREFIX)/man1"
+ _AT_cp -f $(MAN1) "$(DESTDIR)$(MANPREFIX)/man1"
+ _AT_cd "$(DESTDIR)$(MANPREFIX)/man1" && chmod 644 $(MAN1)
+ _AT_mkdir -p "$(DESTDIR)$(MANPREFIX)/man5"
+ _AT_cp -f $(MAN5) "$(DESTDIR)$(MANPREFIX)/man5"
+ _AT_cd "$(DESTDIR)$(MANPREFIX)/man5" && chmod 644 $(MAN5)
uninstall:
_AT_echo removing from ${DESTDIR}${PREFIX}/bin
- _AT_cd ${DESTDIR}${PREFIX}/bin && rm -f 2ff ${BIN}
+ _AT_cd "${DESTDIR}${PREFIX}/bin" && rm -f 2ff ${BIN}
_AT_echo removing manpages from ${DESTDIR}${MANPREFIX}
- _AT_cd ${DESTDIR}${MANPREFIX}/man1 && rm -f $(MAN1)
- _AT_cd ${DESTDIR}${MANPREFIX}/man5 && rm -f $(MAN5)
+ _AT_cd "${DESTDIR}${MANPREFIX}/man1" && rm -f $(MAN1)
+ _AT_cd "${DESTDIR}${MANPREFIX}/man5" && rm -f $(MAN5)
.PHONY: all clean install uninstall
Received on Tue Jan 05 2016 - 17:14:13 CET
This archive was generated by hypermail 2.3.0
: Tue Jan 05 2016 - 17:24:14 CET