From: Rudolf Polzer Date: Fri, 25 Mar 2011 20:04:33 +0000 (+0100) Subject: new: ./all compile -p for profile X-Git-Tag: xonotic-v0.5.0~112 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=0fa920d0357af3075fe4d859eea6845b3ee1f40e;p=xonotic%2Fxonotic.git new: ./all compile -p for profile --- diff --git a/all b/all index 220daf30..403c4583 100755 --- a/all +++ b/all @@ -855,8 +855,15 @@ case "$cmd" in cleanqc=true shift ;; - -r) - debug=release + -r|-p) + case "$1" in + -p) + debug=release + ;; + -r) + debug=profile + ;; + esac export CC="$CC -g" case "`$CC -dumpversion`" in [5-9]*|[1-9][0-9]*|4.[3-9]*|4.[1-9][0-9]*) @@ -1934,7 +1941,7 @@ case "$cmd" in $ECHO " $SELF checkout|switch /" $ECHO " $SELF clean [-m] [-f | -fu | -fU] [-r] [-D]" $ECHO " $SELF clean --reclone" - $ECHO " $SELF compile [-c] [-r] [-0]" + $ECHO " $SELF compile [-c] [-r|-p] [-0]" $ECHO " $SELF each|foreach [-k] command..." $ECHO " $SELF fix_upstream_rebase" $ECHO " $SELF keygen"