diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-02-14 15:14:41 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-02-14 15:14:41 +0000 |
commit | 0d3244a6fe3f44c0d626f8fe08d5fa0ca78e65d2 (patch) | |
tree | 209d888626b30332c8f1b56f35f696724998a604 /make-version.pl | |
parent | 461b6d35ee6f8547427206f23633529e61cc3e1f (diff) |
Split the version under Windows into its major, minor, and micro
components. Use them to build the VERSION, RC_VERSION, and manifest
versions (the latter two are picky about formatting). This would
probably be useful on the autoconf side, but I didn't see an obvious
way to implement it.
svn path=/trunk/; revision=17302
Diffstat (limited to 'make-version.pl')
-rwxr-xr-x | make-version.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make-version.pl b/make-version.pl index 2cf56acbd9..dca0307a51 100755 --- a/make-version.pl +++ b/make-version.pl @@ -150,8 +150,8 @@ sub update_config_nmake open(CFGIN, "< config.nmake") || die "Can't read config.nmake!"; while ($line = <CFGIN>) { - if ($line =~ /^VERSION=(\d+)\.(\d+).(\d+)/) { - $line = "VERSION=$1.$2.$3$package_string\n"; + if ($line =~ /^VERSION_EXTRA=/) { + $line = "VERSION_EXTRA=$package_string\n"; } $contents .= $line } |