From dfe1d7559bbe6d17da51fe16895476da89bd01f7 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Sun, 24 Dec 2023 18:22:15 +1000 Subject: [PATCH] Improve reliability and portability of compiling libd0 in dev builds --- misc/tools/all/xonotic.subr | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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 -- 2.39.2