macos-setup: do "make clean", not "make distclean", for zstd.

It has no configure script, so there's no need for "make distclean", and
the Makefile supplied with it has no "make distclean" rule; just do
"make clean".

[skip ci]
This commit is contained in:
Guy Harris 2020-12-18 23:19:12 -08:00
parent 6498bde741
commit 806f524a10
1 changed files with 6 additions and 1 deletions

View File

@ -1448,7 +1448,12 @@ uninstall_zstd() {
echo "Uninstalling zstd:"
cd zstd-$installed_zstd_version
$DO_MAKE_UNINSTALL || exit 1
make distclean || exit 1
#
# zstd has no configure script, so there's no need for
# "make distclean", and the Makefile supplied with it
# has no "make distclean" rule; just do "make clean".
#
make clean || exit 1
cd ..
rm zstd-$installed_zstd_version-done