]> dxcluster.org Git - spider.git/commitdiff
change versioning arrangements
authorminima <minima>
Sat, 26 Feb 2005 21:35:53 +0000 (21:35 +0000)
committerminima <minima>
Sat, 26 Feb 2005 21:35:53 +0000 (21:35 +0000)
perl/Sun.pm

index 182df931230abf3f1715b49b361c39cb9be252a3..bd087742eb4b1b254bc06e2cb9e2c03c46a6406f 100644 (file)
@@ -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);