Merge "Defalt to using sh instead of ksh in makefiles, but allow override by user."

This commit is contained in:
Jenkins 2013-09-18 19:18:51 +00:00 committed by Gerrit Code Review
commit 5a3a0f0581
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,13 @@
# 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
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
%.eps: %.fig
fig2dev -L eps <$< >$@

View File

@ -1,6 +1,8 @@
# simple makefile to build all doc from the subdirectories below and to
# pull the final pdf files to this directory.
include global.make
sub_dirs = ic_user
# buld and prompte the final pdf to this directory