]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
Improve reliability and portability of compiling libd0 in dev builds
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 24 Dec 2023 08:22:15 +0000 (18:22 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 25 Dec 2023 12:02:29 +0000 (22:02 +1000)
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