Skip to content

Commit

Permalink
Fix build with recent versions of GNU make. Closes issue #216.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Maglione committed Feb 6, 2011
1 parent 173a3bc commit 802d050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mk/hdr.mk
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions 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
Expand Down

0 comments on commit 802d050

Please sign in to comment.