From ac1cc9edbd59931bae22b86d7641fbbaec7e2600 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Aug 31 2013 05:53:24 +0000 Subject: Win32 build: Clean source tree when launched without any arguments (full rebuild) --- diff --git a/autobuild/fedora-crosscompile-win.sh b/autobuild/fedora-crosscompile-win.sh index 819f2f4..c61d4bd 100644 --- a/autobuild/fedora-crosscompile-win.sh +++ b/autobuild/fedora-crosscompile-win.sh @@ -1,8 +1,6 @@ #!/bin/sh #TODO: Replace version numbers in the .nsi file -#TODO: Uninstall properly! -#TODO: 64bit build #TODO: Magick++ set -e @@ -149,6 +147,14 @@ for file in \ do cp -rf /usr/${TOOLCHAIN_HOST}/sys-root/mingw/lib/$file ${PREFIX}/lib || true done + +# cleaning source tree +for dir in ETL synfig-core synfig-studio; do + pushd $SCRIPTPATH/../$dir > /dev/null + make clean || true + popd > /dev/null +done + } #ETL