Refine configure cleanup script

pull/1692/head
winlin 5 years ago
parent 654cde109d
commit 634fa27320

@ -10,11 +10,6 @@ if [[ ${SRS_BUILD_TAG} != "" ]]; then
fi
echo "SRS_WORKDIR: ${SRS_WORKDIR}, SRS_OBJS_DIR: ${SRS_OBJS_DIR}, SRS_OBJS: ${SRS_OBJS}, SRS_PLATFORM: ${SRS_PLATFORM}"
if [[ $SRS_CLEAN == YES && -f Makefile ]]; then
echo "Do full cleanup, you can disable it by: --without-clean"
make clean
fi
# For src object files on each platform.
(
mkdir -p ${SRS_OBJS_DIR} && cd ${SRS_OBJS_DIR} &&

8
trunk/configure vendored

@ -827,6 +827,14 @@ if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then
done
fi
#####################################################################################
# Do cleanup when configure done.
#####################################################################################
if [[ $SRS_CLEAN == YES && -f Makefile ]]; then
echo "Do full cleanup, you can disable it by: --without-clean"
make clean
fi
#####################################################################################
# next step
#####################################################################################

Loading…
Cancel
Save