From 0d3244a6fe3f44c0d626f8fe08d5fa0ca78e65d2 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 14 Feb 2006 15:14:41 +0000 Subject: 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 --- make-version.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'make-version.pl') 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 = ) { - 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 } -- cgit v1.2.3