SDL: clean build directories for prebuilt libraries, they bloat the source archive

This commit is contained in:
pelya
2020-07-22 19:16:56 +03:00
parent 29a26e824d
commit 7c23b880c7
2 changed files with 5 additions and 1 deletions

View File

@@ -34,7 +34,8 @@ $(ICONV) $(ICU): iconv/src/build.sh
cp -f $$ARCH/include/unicode/*.h ../../icuuc/include/unicode/ ; \
cp -f $$ARCH/include/layout/*.h ../../icuuc/include/layout/ ; \
cp -f $$ARCH/include/icu-le-hb/layout/*.h ../../icuuc/include/layout/ ; \
done
done && \
git clean -f -d -x
$(OPENSSL): openssl/compile.sh
cd openssl && ./compile.sh
@@ -89,6 +90,7 @@ $(BOOST): boost/src/build-android.sh
$(foreach NAME, $(BOOST_LIBS), cp -f build/out/$$ARCH/lib/libboost_$(NAME)-clang-mt-*.a ../lib/$$ARCH/libboost_$(NAME).a || exit 1 ;) \
cp -r -f build/out/$$ARCH/include/boost-*/* ../include/ || exit 1 ; \
done || exit 1 ; \
git clean -f -d -x ; \
$(foreach NAME, $(BOOST_LIBS), ln -sf boost ../../boost_$(NAME) ;)
boost: $(BOOST)

View File

@@ -98,3 +98,5 @@ cp -r -L build/arm64-v8a/include/openssl include/openssl || exit 1
patch -p0 < opensslconf.h.patch || exit 1
sed -i.tmp 's@".*/dist/.*"@"."@g' include/openssl/opensslconf.h
rm -f include/openssl/opensslconf.h.tmp
rm -rf build