From: Maxim Mamontov Date: Sat, 4 Oct 2014 08:09:07 +0000 (+0300) Subject: Don't build projects in debug mode. X-Git-Tag: 2.409~238 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/08cb43a82f259df8fc82abbfbfbbde1e28bdbcc2?ds=sidebyside Don't build projects in debug mode. --- diff --git a/projects/rlm_stg/build b/projects/rlm_stg/build index b93f30bd..433cd04f 100755 --- a/projects/rlm_stg/build +++ b/projects/rlm_stg/build @@ -161,5 +161,10 @@ printf "BIN_MODE=$BIN_MODE\n" >> $CONFFILE printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE printf "OWNER=$OWNER\n" >> $CONFFILE -$MAKE $MAKEOPTS +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi diff --git a/projects/rscriptd/build b/projects/rscriptd/build index 451e08aa..3b73000d 100755 --- a/projects/rscriptd/build +++ b/projects/rscriptd/build @@ -181,5 +181,9 @@ printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE printf "OWNER=$OWNER\n" >> $CONFFILE -$MAKE $MAKEOPTS - +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi diff --git a/projects/sgauth/build b/projects/sgauth/build index 0628676a..e7c4be9b 100755 --- a/projects/sgauth/build +++ b/projects/sgauth/build @@ -182,5 +182,10 @@ printf "BIN_MODE=$BIN_MODE\n" >> $CONFFILE printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE printf "OWNER=$OWNER\n" >> $CONFFILE -$MAKE $MAKEOPTS +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi diff --git a/projects/sgauthstress/build b/projects/sgauthstress/build index 676938ad..29b10675 100755 --- a/projects/sgauthstress/build +++ b/projects/sgauthstress/build @@ -298,4 +298,10 @@ printf "BIN_MODE=$BIN_MODE\n" >> $CONFFILE printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE printf "OWNER=$OWNER\n" >> $CONFFILE -$MAKE $MAKEOPTS + +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi diff --git a/projects/sgconf/build b/projects/sgconf/build index 8431474d..91be2728 100755 --- a/projects/sgconf/build +++ b/projects/sgconf/build @@ -200,5 +200,9 @@ printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE printf "OWNER=$OWNER\n" >> $CONFFILE -$MAKE $MAKEOPTS - +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi diff --git a/projects/sgconv/build b/projects/sgconv/build index 3c337df8..5ceb4013 100755 --- a/projects/sgconv/build +++ b/projects/sgconv/build @@ -311,5 +311,9 @@ printf "VAR_DIR=$VAR_DIR\n" >> $CONFFILE mkdir -p ../stargazer/modules -$MAKE $MAKEOPTS - +if [ "$1" != "debug" ] +then + $MAKE $MAKEOPTS +else + printf "\n\n\nDebug build. Type $MAKE explicitly\n" +fi