Use $(SHELL) and $(KORNSHELL) for shell scripts

Introduce KORNSHELL make variable to point
to the implementation of the Korn Shell.

Use $(SHELL) or $(KORNSHELL) explicitly for
make programs that do not automatically call
shell scripts from the current directory.
This commit is contained in:
Marcin Cieslak
2012-08-14 15:31:56 +02:00
committed by Jon Trulson
parent d3206f4514
commit d6b6353f95
8 changed files with 26 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ DEFINES = -D_TOOLTALK
#endif
/* special processing for message files */
SYM2NUM_CMD = ./sym2num
SYM2NUM_CMD = $(SHELL) sym2num
SRCS = DtPrintinfo.C
OBJS = libUI/BaseUI.o objects/BaseObj.o DtPrintinfo.o

View File

@@ -87,7 +87,7 @@ clean::
dtterm.ti: terminfoChecklist
$(RM) $@
CPP="$(CPP) $(TIC_DEFINES)" ./terminfoCreate < terminfoChecklist > $@
CPP="$(CPP) $(TIC_DEFINES)" $(SHELL) terminfoCreate < terminfoChecklist > $@
includes:: dtterm.ti
depend:: dtterm.ti
all:: dtterm.ti

View File

@@ -87,7 +87,7 @@ includes:: @@\
$(MAKEMESSCAT) $(GENCATFLAGS) $@ $(LANG)
#endif
MAKEMESSCAT = $(CDESRC)/localized/util/makeMessCat
SYM2NUM_CMD = $(CDESRC)/dtprintinfo/sym2num
MAKEMESSCAT = $(KORNSHELL) $(CDESRC)/localized/util/makeMessCat
SYM2NUM_CMD = $(SHELL) $(CDESRC)/dtprintinfo/sym2num
MsgCatRule()