diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh index 8eaa3a9..1342604 100755 --- a/admin/nt/dist-build/build-zips.sh +++ b/admin/nt/dist-build/build-zips.sh @@ -102,6 +102,7 @@ SNAPSHOT= CACHE= +INSTALLER=1 BUILD=1 BUILD_32=1 BUILD_64=1 @@ -110,7 +111,7 @@ CONFIG= CFLAGS="-O2 -static" INSTALL_TARGET="install-strip" -while getopts "36gb:hnsiV:" opt; do +while getopts "36gb:hnsizV:" opt; do case $opt in 3) BUILD_32=1 @@ -152,8 +153,12 @@ INSTALL_TARGET= echo " -6 64 bit build only" echo " -g git update and worktree only" echo " -i build installer only" + echo " -z only build zip files" exit 0 ;; + z) + INSTALLER=0 + ;; \?) echo "Invalid option: -$OPTARG" >&2 ;; @@ -223,7 +228,10 @@ OF_VERSION= then build_zip x86_64 /mingw64/lib/pkgconfig x86_64-w64-mingw32 fi - build_installer x86_64 + if (($INSTALLER)) + then + build_installer x86_64 + fi fi ## Do the 64 bit build first, because we reset some environment @@ -234,5 +242,8 @@ OF_VERSION= then build_zip i686 /mingw32/lib/pkgconfig i686-w64-mingw32 fi - build_installer i686 + if (($INSTALLER)) + then + build_installer i686 + fi fi