diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 10:13:59 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-02-01 10:13:59 +0000 |
commit | 63082c8a210741e2c390f78669009697128cfe30 (patch) | |
tree | 0df33f1061a4cb681804f9d77fb0493d0578b5c0 /install-win32/makeopenvpn | |
parent | Version 2.1_rc7 (diff) | |
download | openvpn-63082c8a210741e2c390f78669009697128cfe30.tar.xz |
Changes to Windows build system to make it easier to do
partial builds, where only a subset of OpenVPN installer
components are built. See ./domake-win comments.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2710 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/makeopenvpn')
-rw-r--r-- | install-win32/makeopenvpn | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/install-win32/makeopenvpn b/install-win32/makeopenvpn index 48522e6..31df604 100644 --- a/install-win32/makeopenvpn +++ b/install-win32/makeopenvpn @@ -4,13 +4,10 @@ . autodefs/defs.sh # build OpenVPN binary -[ "$MAKE_CLEAN" = "yes" ] && make -f makefile.w32 clean +[ "$CLEAN" = "yes" ] && make -f makefile.w32 clean make -f makefile.w32 -j $MAKE_JOBS -# build OpenVPN service (openvpnserv.exe) -if [ -n "$SVC_TEMPLATE" ] ; then - cd service-win32 - [ "$MAKE_CLEAN" = "yes" ] && make clean - make -j $MAKE_JOBS - cd .. -fi +# copy OpenVPN executable to GENOUT/bin +mkdir -p $GENOUT/bin &>/dev/null +cp $PRODUCT_UNIX_NAME.exe $GENOUT/bin +strip $GENOUT/bin/$PRODUCT_UNIX_NAME.exe |