Add a SAVE_DEBUG flag for controlling just the saving of the debug info (but

not implying PRODUCTION=yes).
This commit is contained in:
Jordan Hubbard
2016-08-10 14:09:24 -07:00
parent ff1086ef68
commit 315446c2b7

View File

@@ -146,7 +146,7 @@ release:
@echo "Doing executing target $@ on host: `hostname`"
@echo "Build directory: `pwd`"
script -a ${RELEASE_LOGFILE} ${MK} build
@if [ "${PRODUCTION}" == "yes" ]; then \
@if [ "${PRODUCTION}" == "yes" -o "${SAVE_DEBUG}" == "yes" ]; then \
${BUILD_TOOLS}/save-build-env.py; \
fi
script -a ${RELEASE_LOGFILE} ${BUILD_TOOLS}/create-release-distribution.py