diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-22 08:21:16 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-22 08:21:16 +0000 |
commit | 1568d7f42886fe3f5f8ea79110791cdd8e0786df (patch) | |
tree | fd76610f02817c91b3f92774e7fa08480b846168 /install-win32/winconfig | |
parent | Moved OpenVPN version number from configure.ac (diff) | |
download | openvpn-1568d7f42886fe3f5f8ea79110791cdd8e0786df.tar.xz |
Version is now specified in version.m4 for both
unix and windows versions.
Reworked the Windows build scripting system, with
settings (other than version #) specified in settings.in.
Moved the native scripting grammar as defined by trans.pl
away from NSIS and to something more generic.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1867 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/winconfig')
-rw-r--r-- | install-win32/winconfig | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/install-win32/winconfig b/install-win32/winconfig index bca1bb6..7fd49cd 100644 --- a/install-win32/winconfig +++ b/install-win32/winconfig @@ -8,20 +8,20 @@ c=`pwd` rm -rf autodefs mkdir autodefs -TRAN="perl install-win32/nsitran.pl" -VER=install-win32/version.nsi -MACRO="perl install-win32/macro.pl $VER" +MACRO="perl install-win32/macro.pl autodefs/defs.in" # silly vista security theatre PATCH="/tmp/p.exe" cp `which patch` $PATCH -# translate version.nsi to C and sh -$TRAN c <$VER >autodefs/nsidefs.h -$TRAN sh <$VER >autodefs/nsidefs.sh +# build multi-grammar definition files +perl install-win32/m4todef.pl <version.m4 >autodefs/version.in +for g in "h" "sh" "nsi" "in" ; do + perl install-win32/trans.pl $g install-win32/settings.in >autodefs/defs.$g +done -# load version.nsi definitions -. autodefs/nsidefs.sh +# load sh definitions +. autodefs/defs.sh # configure tap driver sources $MACRO <tap-win32/SOURCES.in >tap-win32/SOURCES |