From: bones_was_here Date: Sun, 24 Dec 2023 08:22:15 +0000 (+1000) Subject: Improve reliability and portability of compiling libd0 in dev builds X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dfe1d7559bbe6d17da51fe16895476da89bd01f7;p=xonotic%2Fxonotic.git Improve reliability and portability of compiling libd0 in dev builds --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index eb2bbe99..bed2ac1f 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -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