mirror of
https://github.com/0intro/wmii
synced 2024-11-21 21:31:33 +03:00
Fix setting $(BINSH) from config.mk
This commit is contained in:
parent
772760a825
commit
f369942356
@ -37,12 +37,10 @@ CTAGS=ctags
|
||||
|
||||
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 @@ BINSH := $(shell \
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user