mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Fixed how SHELL is set in Makefiles, fix make depend on linux
This commit is contained in:
@@ -72,9 +72,12 @@
|
||||
#
|
||||
# SHELL= /bin/zsh
|
||||
#
|
||||
SHELL= /bin/sh
|
||||
#SHELL= /bin/bash
|
||||
#SHELL= /bin/zsh
|
||||
SHELL= /bin/bash
|
||||
#if 0 /* start of skip for non-Gnu makefiles */
|
||||
ifeq ($(target),Darwin)
|
||||
SHELL:= /bin/zsh
|
||||
endif
|
||||
#endif /* end of skip for non-Gnu makefiles */
|
||||
|
||||
|
||||
# PREFIX - Top level location for calc
|
||||
@@ -515,7 +518,7 @@ FMT= fmt
|
||||
GREP= egrep
|
||||
LN= ln
|
||||
MAKE= make
|
||||
MAKEDEPEND= /usr/bin/makedepend
|
||||
MAKEDEPEND= makedepend
|
||||
MKDIR= mkdir
|
||||
MV= mv
|
||||
RM= rm
|
||||
@@ -1303,11 +1306,6 @@ depend:
|
||||
else \
|
||||
${TRUE}; \
|
||||
fi
|
||||
${Q} if [ ! -x "${MAKEDEPEND}" ]; then \
|
||||
echo "makedepend command not found: ${MAKEDEPEND}"; \
|
||||
echo "aborting depend rule"; \
|
||||
exit 1; \
|
||||
fi
|
||||
${Q} echo forming custom/skel
|
||||
${Q} ${RM} -rf skel
|
||||
${Q} ${MKDIR} -p skel
|
||||
|
@@ -72,9 +72,12 @@
|
||||
#
|
||||
# SHELL= /bin/zsh
|
||||
#
|
||||
SHELL= /bin/sh
|
||||
#SHELL= /bin/bash
|
||||
#SHELL= /bin/zsh
|
||||
SHELL= /bin/bash
|
||||
#if 0 /* start of skip for non-Gnu makefiles */
|
||||
ifeq ($(target),Darwin)
|
||||
SHELL:= /bin/zsh
|
||||
endif
|
||||
#endif /* end of skip for non-Gnu makefiles */
|
||||
|
||||
|
||||
# PREFIX - Top level location for calc
|
||||
@@ -515,7 +518,7 @@ FMT= fmt
|
||||
GREP= egrep
|
||||
LN= ln
|
||||
MAKE= make
|
||||
MAKEDEPEND= /usr/bin/makedepend
|
||||
MAKEDEPEND= makedepend
|
||||
MKDIR= mkdir
|
||||
MV= mv
|
||||
RM= rm
|
||||
|
@@ -193,11 +193,6 @@ depend:
|
||||
else \
|
||||
${TRUE}; \
|
||||
fi
|
||||
${Q} if [ ! -x "${MAKEDEPEND}" ]; then \
|
||||
echo "makedepend command not found: ${MAKEDEPEND}"; \
|
||||
echo "aborting depend rule"; \
|
||||
exit 1; \
|
||||
fi
|
||||
${Q} echo forming custom/skel
|
||||
${Q} ${RM} -rf skel
|
||||
${Q} ${MKDIR} -p skel
|
||||
|
Reference in New Issue
Block a user