Defalt to using sh instead of ksh in makefiles, but allow override by user.
Change-Id: I5c23fde4960bf31a0fd5c0ce027e0dabc8377123
This commit is contained in:
parent
4451cff7bc
commit
ae30131299
|
@ -1,6 +1,13 @@
|
||||||
# global things needed by all make files -- mostly meta rules
|
# global things needed by all make files -- mostly meta rules
|
||||||
|
|
||||||
SHELL = ksh
|
# allow user to override with better shell when desired.
|
||||||
|
# unfortunately (g)make overrides SHELL rather than importing it; pull from MK_SHELL if set
|
||||||
|
ifneq ($(MK_SHELL),)
|
||||||
|
SHELL := $(MK_SHELL)
|
||||||
|
else
|
||||||
|
SHELL := sh
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# allows the use of ../ in include statements
|
# allows the use of ../ in include statements
|
||||||
env = openout_any=a openin_any=a
|
env = openout_any=a openin_any=a
|
||||||
|
@ -14,4 +21,3 @@ env = openout_any=a openin_any=a
|
||||||
# xfig used to produce/maintain figures. this converts to eps
|
# xfig used to produce/maintain figures. this converts to eps
|
||||||
%.eps: %.fig
|
%.eps: %.fig
|
||||||
fig2dev -L eps <$< >$@
|
fig2dev -L eps <$< >$@
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# simple makefile to build all doc from the subdirectories below and to
|
# simple makefile to build all doc from the subdirectories below and to
|
||||||
# pull the final pdf files to this directory.
|
# pull the final pdf files to this directory.
|
||||||
|
|
||||||
|
include global.make
|
||||||
|
|
||||||
sub_dirs = ic_user
|
sub_dirs = ic_user
|
||||||
|
|
||||||
# buld and prompte the final pdf to this directory
|
# buld and prompte the final pdf to this directory
|
||||||
|
|
Loading…
Reference in New Issue