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:
committed by
Jon Trulson
parent
d3206f4514
commit
d6b6353f95
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user