zcutil/build.sh: Run zcutil/clean.sh before building.

fixes #3625

We use clean.sh rather than distclean.sh because the checksumming
and redownloading of C++ dependencies is pretty robust.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-04-14 14:51:49 +01:00
parent 8793f68e5e
commit 2807c3f1a1
2 changed files with 7 additions and 0 deletions

View File

@ -4,3 +4,9 @@ release-notes at release time)
Notable changes
===============
Build system
------------
- `zcutil/build.sh` now automatically runs `zcutil/clean.sh` to remove
files created by previous builds. We previously recommended to do this
manually.

View File

@ -84,6 +84,7 @@ then
exit 0
fi
./zcutil/clean.sh
./autogen.sh
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure $CONFIGURE_FLAGS
"$MAKE" "$@"