[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster ./configure make/release.mk.input



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	fabbione sourceware org	2007-12-20 04:39:06

Modified files:
	.              : configure 
Removed files:
	make           : release.mk.input 

Log message:
	Cleanup leftovers from the very old build system. We were using a very complex
	way to set release_major and release_minor because in the old system it was
	not possible to set them directly from ./configure.
	
	Remove the old cruft since ./configure can now take those values directly in
	input.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/configure.diff?cvsroot=cluster&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/make/release.mk.input.diff?cvsroot=cluster&r1=1.1&r2=NONE

--- cluster/configure	2007/12/19 05:48:35	1.41
+++ cluster/configure	2007/12/20 04:39:06	1.42
@@ -554,21 +554,11 @@
 }
 
 close IFILE;
-if ((not defined($release_major)) || (not defined($release_minor))) {
-  open IFILE, "<make/release.mk.input" or die "Can't redirect stdin";
-  while (<IFILE>) {
-    chomp;
-    if($_ =~ /RELEASE_MAJOR\s=\s(.*)/){
-        $release_major = $1;
-    } elsif($_ =~ /RELEASE_MINOR\s=\s(.*)/){
-        $release_minor = $1;
-    }
-  }
 
-  if($release_minor =~ m/DATE/i){
-      $release_minor = `date +%s`;
-      chomp $release_minor;
-  }
+if ((not defined($release_major)) || (not defined($release_minor))) {
+  $release_major = DEVEL;
+  $release_minor = `date +%s`;
+  chomp $release_minor;
 }
 
 print OFILE "RELEASE_MAJOR = $release_major\n";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]