]> git.stg.codes - stg.git/commitdiff
Don't build projects in debug mode.
authorMaxim Mamontov <faust.madf@gmail.com>
Sat, 4 Oct 2014 08:09:07 +0000 (11:09 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Sat, 10 Jan 2015 19:12:56 +0000 (21:12 +0200)
projects/rlm_stg/build
projects/rscriptd/build
projects/sgauth/build
projects/sgauthstress/build
projects/sgconf/build
projects/sgconv/build

index b93f30bd4d6b929d104dddcefcd003b34807b9bf..433cd04fc0ff97e4182beab41996782c0cead587 100755 (executable)
@@ -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
index 451e08aa14e31fd70e6b3c7d448c316817257091..3b73000dc128369b54c831b86d9a79edb4c80104 100755 (executable)
@@ -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
index 0628676ae11192f7602edbd7e81d84014684e07b..e7c4be9b0e745c68d97ba8b5df29e84618888a2a 100755 (executable)
@@ -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
index 676938ad6ff811f7a993e2c9c760406d120ed6b2..29b106751b6153e1ff28a172edc91223527fc695 100755 (executable)
@@ -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
index 8431474d522d9ecfc3e4a64fb63c91c3eca203be..91be27281a9f8fce04b43dd50a21c04f2a206238 100755 (executable)
@@ -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
index 3c337df88d8748c2033fdc44315c3bbcca01245e..5ceb4013f2cd6fc7e78d6076a57ffc2167e90933 100755 (executable)
@@ -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