1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Build: Refine the options for configure

This commit is contained in:
winlin 2020-06-24 17:03:56 +08:00
parent c8892c4009
commit 98924943a6
2 changed files with 9 additions and 22 deletions

12
trunk/configure vendored
View file

@ -499,13 +499,13 @@ destroy:
(cd ${SRS_OBJS_DIR} && rm -rf ${SRS_PLATFORM})
clean_srs:
(cd ${SRS_OBJS_DIR} && rm -rf srs srs_utest)
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf include/* lib/*)
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && find src -name "*.o" -delete)
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && find utest -name "*.o" -delete)
@(cd ${SRS_OBJS_DIR} && rm -rf srs srs_utest)
@(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf include/* lib/*)
@(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && find src -name "*.o" -delete)
@(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && find utest -name "*.o" -delete)
clean_modules:
(cd ${SRS_OBJS_DIR} && rm -rf $__mdefaults)
@(cd ${SRS_OBJS_DIR} && rm -rf $__mdefaults)
clean_openssl:
(cd ${SRS_OBJS_DIR}/${SRS_PLATFORM} && rm -rf openssl*)
@ -783,7 +783,7 @@ done
# Do cleanup when configure done.
#####################################################################################
if [[ $SRS_CLEAN == YES && -f Makefile ]]; then
echo "Do full cleanup, you can disable it by: --without-clean"
echo "Do full cleanup, you can disable it by: --clean=off"
make clean
fi