From: Emil Velikov <[email protected]> Used alongside with -a and --clone (optionally -p) one can fetch/sync the whole collection of projects w/o executing anything in those.
One example usecase is to test any direct or indirect (for example xorg-macros) changes to release.sh do not produce unexpected results. Signed-off-by: Emil Velikov <[email protected]> --- build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.sh b/build.sh index c83ff5e..70037f0 100755 --- a/build.sh +++ b/build.sh @@ -76,6 +76,7 @@ # -d Run make distcheck in addition "all install" # -g Compile and link with debug information # -L Just list modules to build +# -m Do NOT run any of the make targets # -h, --help Display this help and exit successfully # -n Do not quit after error; just print error message # -o module/component @@ -697,6 +698,12 @@ process() { return 0 fi + if [ X"$NOMAKE" != X ]; then + echo "build.sh: Skipping make targets" + cd $old_pwd + return 0 + fi + ${MAKE} $MAKEFLAGS if [ $? -ne 0 ]; then # Rerun with Automake silent rules disabled to see failing gcc statement @@ -870,6 +877,7 @@ usage() { echo " -d Run make distcheck in addition \"all install\"" echo " -g Compile and link with debug information" echo " -h, --help Display this help and exit successfully" + echo " -m Do NOT run any of the make targets" echo " -n Do not quit after error; just print error message" echo " -o module/component" echo " Build just this module/component" @@ -1350,6 +1358,9 @@ do -L) LISTONLY=1 ;; + -m) + NOMAKE=1 + ;; -n) NOQUIT=1 ;; -- 2.11.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
