]> de.git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/xonotic.subr
Only (re)generate the libd0 Makefile when necessary in dev/git builds
[xonotic/xonotic.git] / misc / tools / all / xonotic.subr
index 3797bfd6933d6f5657c90b9a5cf5b87ca7b0cdd0..46c2b6dba12cbefca1742416dca3ae5e944c1895 100644 (file)
@@ -178,10 +178,14 @@ case "$cmd" in
                        compiled0=true
                fi
                if $compiled0; then
-                       verbose sh autogen.sh
-                       verbose ./configure
+                       if ! [ -f Makefile ]; then
+                               verbose sh autogen.sh
+                               verbose ./configure
+                       fi
                        if $cleand0; then
                                verbose $MAKE $MAKEFLAGS distclean
+                               verbose sh autogen.sh
+                               verbose ./configure
                        fi
                        verbose $MAKE $MAKEFLAGS
                fi