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/nsitran.pl | |
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/nsitran.pl')
-rw-r--r-- | install-win32/nsitran.pl | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/install-win32/nsitran.pl b/install-win32/nsitran.pl deleted file mode 100644 index 49512b4..0000000 --- a/install-win32/nsitran.pl +++ /dev/null @@ -1,27 +0,0 @@ -# This is a simple language translator. It translates -# the NSIS format of version.nsi to either C, sh, or Javascript. - -($mode) = @ARGV; - -$comment = "This file was automatically generated by nsitran.pl"; - -print "// $comment\n" if ($mode eq "c"); -print "# $comment\n" if ($mode eq "sh"); -print "// $comment\n" if ($mode eq "js"); - -print "\n"; - -while (<STDIN>) { - chomp; - if (/^\s*$/) { - print "\n"; - } elsif (/^[#;](.*)$/) { - print "//$1\n" if ($mode eq "c"); - print "#$1\n" if ($mode eq "sh"); - print "//$1\n" if ($mode eq "js"); - } elsif (/^!define\s+(\w+)\s+(.+)$/) { - print "#define $1 $2\n" if ($mode eq "c"); - print "[ -z \"\$$1\" ] && export $1=$2\n[ \"\$$1\" = \"null\" ] && unset $1\n" if ($mode eq "sh"); - print "var $1=$2;\n" if ($mode eq "js"); - } -} |