changeset: 2612:41d8b6a9b0f7
user: Kris Maglione <kris_AT_suckless.org>
date: Thu May 20 09:30:13 2010 -0400
files: mk/hdr.mk
description:
Fix setting $(BINSH) from config.mk
diff -r d892292ae12e -r 41d8b6a9b0f7 mk/hdr.mk
--- a/mk/hdr.mk Mon May 17 14:03:03 2010 -0400
+++ b/mk/hdr.mk Thu May 20 09:30:13 2010 -0400
@@ -37,12 +37,10 @@
PACKAGES = 2>/dev/null
-include $(ROOT)/config.mk
-
# I hate this.
MKCFGSH=if test -f $(ROOT)/config.local.mk; then echo $(ROOT)/config.local.mk; else echo /dev/null; fi
-MKCFG:=${shell $(MKCFGSH)}
-MKCFG!=${MKCFGSH}
+MKCFG:=$(shell $(MKCFGSH))
+MKCFG!=$(MKCFGSH)
include $(MKCFG)
# and this:
@@ -54,6 +52,8 @@
else echo /bin/sh; fi)
BINSH != echo /bin/sh
+include $(ROOT)/config.mk
+
.SILENT:
.SUFFIXES: .out .o .o_pic .c .pdf .sh .rc .$(SOEXT) .awk .1 .man1 .depend .install .uninstall .clean
all:
Received on Sat May 22 2010 - 02:52:28 UTC
This archive was generated by hypermail 2.2.0 : Sat May 22 2010 - 03:00:09 UTC