Commit 544b09e6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

win32 build: provide an option for installer creation

* nothing will be for dev and continuous
* -i n to prepare a nightly build, aka debug+release package
* -i r to prepare a release build, which will be officially signed
parent b6bbde66
......@@ -24,6 +24,7 @@ OPTIONS:
-p Use a Prebuilt contrib package (speeds up compilation)
-c Create a Prebuilt contrib package (rarely used)
-l Enable translations (can be slow)
-i <n|r> Create an Installer (n: nightly, r: release)
EOF
}
......@@ -37,6 +38,7 @@ do
;;
r)
RELEASE="yes"
INSTALLER="r"
;;
a)
ARCH=$OPTARG
......@@ -50,6 +52,9 @@ do
l)
I18N="yes"
;;
i)
INSTALLER=$OPTARG
;;
esac
done
shift $(($OPTIND - 1))
......@@ -125,8 +130,8 @@ fi
info "Compiling"
make -j$JOBS
if [ "$RELEASE" != "yes" ]; then
make package-win32-debug
else
if [ "$INSTALLER" == "n" ]; then
make package-win32-debug package-win32
elif [ "$INSTALLER" == "r" ]; then
make package-win32
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment