commit 802d050878d230c1803aaf51d1b23b7143821185
parent 173a3bc524ef7faaad9471d46c39f69768a7877b
Author: Kris Maglione <kris@suckless.org>
Date: Sat, 5 Feb 2011 23:03:09 -0500
Fix build with recent versions of GNU make. Closes issue #216.
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mk/hdr.mk b/mk/hdr.mk
@@ -41,11 +41,11 @@ PACKAGES = 2>/dev/null
# and this:
# Try to find a sane shell. /bin/sh is a last resort, because it's
# usually bash on Linux, which means it's painfully slow.
-BINSH := $(shell \
+BINSH:= $(shell \
if [ -x /bin/dash ]; then echo /bin/dash; \
elif [ -x /bin/ksh ]; then echo /bin/ksh; \
else echo /bin/sh; fi)
-BINSH != echo /bin/sh
+BINSH!= echo /bin/sh
include $(ROOT)/config.mk
diff --git a/mk/man.mk b/mk/man.mk
@@ -1,7 +1,7 @@
targ = for k in $(MANPAGES); do echo $$k | sed 's/ .*//'; done
-TARG := $(shell $(targ))
-TARG != $(targ)
+TARG:= $(shell $(targ))
+TARG!= $(targ)
all: $(TARG)
install: $(TARG:.1=.install) $(TARG:.3=.install) maninstall