[hackers] [libixp] Fix build with recent versions of GNU make. Closes issue #216. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Sun, 6 Feb 2011 04:03:28 +0000 (UTC)

changeset: 140:1a2224d70672
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sat Feb 05 23:03:09 2011 -0500
files: mk/hdr.mk mk/man.mk
description:
Fix build with recent versions of GNU make. Closes issue #216.

diff -r 38b34b489869 -r 1a2224d70672 mk/hdr.mk
--- a/mk/hdr.mk Wed Jul 07 22:32:08 2010 +0000
+++ b/mk/hdr.mk Sat Feb 05 23:03:09 2011 -0500
@@ -41,11 +41,11 @@
 # 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 -r 38b34b489869 -r 1a2224d70672 mk/man.mk
--- a/mk/man.mk Wed Jul 07 22:32:08 2010 +0000
+++ b/mk/man.mk Sat Feb 05 23:03:09 2011 -0500
@@ -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
Received on Sun Feb 06 2011 - 05:03:28 CET

This archive was generated by hypermail 2.2.0 : Sun Feb 06 2011 - 05:12:05 CET