Introduction
Introduction Statistics Contact Development Disclaimer Help
Quote paths in Makefile - farbfeld - suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log
Files
Refs
README
LICENSE
---
commit 37279aea00503196cfb5e008b66ced8ec8043e1f
parent a7dba356ecad56b84c06fc12f537682feff61232
Author: FRIGN <[email protected]>
Date: Tue, 5 Jan 2016 17:13:38 +0100
Quote paths in Makefile
Thanks quinq for reporting this!
Diffstat:
M Makefile | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -19,21 +19,21 @@ clean:
install: all
@echo installing into ${DESTDIR}${PREFIX}/bin
- @mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f 2ff ${BIN} ${DESTDIR}${PREFIX}/bin
- @echo installing manpages into ${DESTDIR}${MANPREFIX}
- @mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- @cp -f $(MAN1) $(DESTDIR)$(MANPREFIX)/man1
- @cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN1)
- @mkdir -p $(DESTDIR)$(MANPREFIX)/man5
- @cp -f $(MAN5) $(DESTDIR)$(MANPREFIX)/man5
- @cd $(DESTDIR)$(MANPREFIX)/man5 && chmod 644 $(MAN5)
+ @mkdir -p "${DESTDIR}${PREFIX}/bin"
+ @cp -f 2ff ${BIN} "${DESTDIR}${PREFIX}/bin"
+ @echo installing manpages into ${DESTDIR}${MANPREFIX}
+ @mkdir -p "$(DESTDIR)$(MANPREFIX)/man1"
+ @cp -f $(MAN1) "$(DESTDIR)$(MANPREFIX)/man1"
+ @cd "$(DESTDIR)$(MANPREFIX)/man1" && chmod 644 $(MAN1)
+ @mkdir -p "$(DESTDIR)$(MANPREFIX)/man5"
+ @cp -f $(MAN5) "$(DESTDIR)$(MANPREFIX)/man5"
+ @cd "$(DESTDIR)$(MANPREFIX)/man5" && chmod 644 $(MAN5)
uninstall:
@echo removing from ${DESTDIR}${PREFIX}/bin
- @cd ${DESTDIR}${PREFIX}/bin && rm -f 2ff ${BIN}
+ @cd "${DESTDIR}${PREFIX}/bin" && rm -f 2ff ${BIN}
@echo removing manpages from ${DESTDIR}${MANPREFIX}
- @cd ${DESTDIR}${MANPREFIX}/man1 && rm -f $(MAN1)
- @cd ${DESTDIR}${MANPREFIX}/man5 && rm -f $(MAN5)
+ @cd "${DESTDIR}${MANPREFIX}/man1" && rm -f $(MAN1)
+ @cd "${DESTDIR}${MANPREFIX}/man5" && rm -f $(MAN5)
.PHONY: all clean install uninstall
You are viewing proxied material from suckless.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.