]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/all/xonotic.subr
Improve reliability and portability of compiling libd0 in dev builds
[xonotic/xonotic.git] / misc / tools / all / xonotic.subr
index eb2bbe994b1d0cacc832add45a0c6dc2e8158f1d..bed2ac1f1fa39e1290799931938d6404168bd3a6 100644 (file)
@@ -238,14 +238,10 @@ case "$cmd" in
                        fi
                fi
                if $compiled0; then
+                       verbose sh autogen.sh
+                       verbose ./configure
                        if $cleand0; then
-                               if [ -f Makefile ]; then
-                                       verbose $MAKE $MAKEFLAGS distclean
-                               fi
-                       fi
-                       if ! [ -f Makefile ]; then
-                               verbose sh autogen.sh
-                               verbose ./configure
+                               verbose $MAKE $MAKEFLAGS distclean
                        fi
                        verbose $MAKE $MAKEFLAGS
                fi