Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: change () to {} consistently - stagit-gopher - A git gopher frontend.…
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h…
Log
Files
Refs
Tags
README
LICENSE
---
commit 9884619350ec8c8e27886a17607112cff251cc9f
parent 1d91c79e3c26c62bee0c047fe1db02668ca94721
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 25 Mar 2017 13:14:26 +0100
Makefile: change () to {} consistently
reported by tarug0, thanks!
Diffstat:
M Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -28,7 +28,7 @@ COMPATOBJ = \
OBJ = ${SRC:.c=.o} ${COMPATOBJ}
-all: $(BIN)
+all: ${BIN}
.o:
${CC} ${LDFLAGS} -o $@ ${LIBS}
@@ -64,7 +64,7 @@ install: all
# installing executable files.
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f ${BIN} ${SCRIPTS} ${DESTDIR}${PREFIX}/bin
- for f in $(BIN) $(SCRIPTS); do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; …
+ for f in ${BIN} ${SCRIPTS}; do chmod 755 ${DESTDIR}${PREFIX}/bin/$$f; …
# installing example files.
mkdir -p ${DESTDIR}${PREFIX}/share/${NAME}
cp -f style.css\
@@ -76,11 +76,11 @@ install: all
# installing manual pages.
mkdir -p ${DESTDIR}${MANPREFIX}/man1
cp -f ${MAN1} ${DESTDIR}${MANPREFIX}/man1
- for m in $(MAN1); do chmod 644 ${DESTDIR}${MANPREFIX}/man1/$$m; done
+ for m in ${MAN1}; do chmod 644 ${DESTDIR}${MANPREFIX}/man1/$$m; done
uninstall:
# removing executable files and scripts.
- for f in $(BIN) $(SCRIPTS); do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
+ for f in ${BIN} ${SCRIPTS}; do rm -f ${DESTDIR}${PREFIX}/bin/$$f; done
# removing example files.
rm -f \
${DESTDIR}${PREFIX}/share/${NAME}/style.css\
@@ -90,6 +90,6 @@ uninstall:
${DESTDIR}${PREFIX}/share/${NAME}/README
-rmdir ${DESTDIR}${PREFIX}/share/${NAME}
# removing manual pages.
- for m in $(MAN1); do rm -f ${DESTDIR}${MANPREFIX}/man1/$$m; done
+ for m in ${MAN1}; do rm -f ${DESTDIR}${MANPREFIX}/man1/$$m; done
.PHONY: all clean dist install uninstall
You are viewing proxied material from bitreich.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.