All of lore.kernel.org
 help / color / mirror / Atom feed
From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster ./configure make/release.mk.input
Date: 20 Dec 2007 04:39:07 -0000	[thread overview]
Message-ID: <20071220043907.27858.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	fabbione at 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";



                 reply	other threads:[~2007-12-20  4:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071220043907.27858.qmail@sourceware.org \
    --to=fabbione@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.