Add calls to 'make clean' to ensure building artifacts

This commit is contained in:
Jeffrey Walton 2018-07-31 19:53:40 -04:00
parent 27968af8a9
commit 57521bd22a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,8 @@ if ! ./configure; then
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
make clean 2>/dev/null
if ! "$MAKE" -j2 -f Makefile; then
echo "make failed"
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1

View File

@ -28,6 +28,8 @@ if ! cmake ../; then
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi
make clean 2>/dev/null
if ! make -j2 -f Makefile VERBOSE=1; then
echo "make failed"
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1