From: minima Date: Sat, 26 Feb 2005 21:35:53 +0000 (+0000) Subject: change versioning arrangements X-Git-Tag: R_1_52~124 X-Git-Url: http://dxspider.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=42f3323cfe4eff424f4acc96ba665e666cb63b5c;p=spider.git change versioning arrangements --- diff --git a/perl/Sun.pm b/perl/Sun.pm index 182df931..bd087742 100644 --- a/perl/Sun.pm +++ b/perl/Sun.pm @@ -33,10 +33,8 @@ require Exporter; use strict; use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; + +main::mkver($VERSION = q$Revision$); use vars qw($pi $d2r $r2d);