mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-03-03 01:47:46 +00:00
Only (re)generate the libd0 Makefile when necessary in dev/git builds
Also fixes the `distclean` case: that target deletes the Makefile so we need to generate it again before we can build.
This commit is contained in:
parent
0d3146cb2c
commit
9dda8bc6cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user