[hackers] [farbfeld] Use consistent {} in Makefile || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 5 Jan 2016 17:32:00 +0100 (CET)

commit 4e84440473323aa72109162123ff062a198a2c44
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue Jan 5 17:31:43 2016 +0100
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Tue Jan 5 17:31:43 2016 +0100

    Use consistent {} in Makefile

diff --git a/Makefile b/Makefile
index 46dcefc..789f817 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -1,11 +1,9 @@
-# farbfeld - tools to convert between png/jpg and ff
 # See LICENSE file for copyright and license details
-
 include config.mk
 
 BIN = png2ff ff2png jpg2ff
-SRC = $(BIN:=.c)
-MAN1 = 2ff.1 $(BIN:=.1)
+SRC = ${BIN:=.c}
+MAN1 = 2ff.1 ${BIN:=.1}
 MAN5 = farbfeld.5
 
 all: png2ff ff2png jpg2ff
_AT_@ -22,18 +20,18 @@ install: all
         _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}${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_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:32:00 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 05 2016 - 17:36:19 CET