public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: fabbione@sourceware.org
To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com
Subject: Cluster Project branch, STABLE2, updated. cluster-2.03.04-40-g8f534ee
Date: Wed, 09 Jul 2008 10:48:00 -0000	[thread overview]
Message-ID: <20080709104813.15123.qmail@sourceware.org> (raw)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=8f534ee6d00311f296d9247b910c3f737a73b0c3

The branch, STABLE2 has been updated
       via  8f534ee6d00311f296d9247b910c3f737a73b0c3 (commit)
      from  9b5770286010274a3037bddadaf53f40943bffda (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8f534ee6d00311f296d9247b910c3f737a73b0c3
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Thu Jul 3 12:17:45 2008 +0200

    [BUILD] Add make oldconfig target
    
    configure invokation now creates a .configure.sh script file at the top
    level of the tree. It contains a shell script to reproduce the last
    invokation of configure and it allows to add extra config parameters.
    
    Note that .configure.sh is updated each time you invoke configure.
    
    Add also a make oldconfig that will execute the script.
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

-----------------------------------------------------------------------

Summary of changes:
 .gitignore |    1 +
 Makefile   |    8 ++++++++
 configure  |    8 ++++++++
 3 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 5bce701..0e4ca4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 make/defines.mk
+.configure.sh
diff --git a/Makefile b/Makefile
index 0a2c3bc..eb7a75e 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,13 @@ gfs2:
 gnbd: cman/lib
 rgmanager: ccs dlm
 
+oldconfig:
+	@if [ -f $(OBJDIR)/.configure.sh ]; then \
+		sh $(OBJDIR)/.configure.sh; \
+	else \
+		echo "No old configure data found"; \
+	fi
+
 install: all
 	set -e && for i in ${SUBDIRS}; do ${MAKE} -C $$i $@; done
 
@@ -53,6 +60,7 @@ clean:
 
 distclean: clean
 	rm -f make/defines.mk
+	rm -f .configure.sh
 	rm -f *tar.gz
 	rm -rf build
 
diff --git a/configure b/configure
index 65a7c26..431af22 100755
--- a/configure
+++ b/configure
@@ -10,6 +10,8 @@ print "\nConfiguring Makefiles for your system...\n";
 
 # Set a bunch of variables
 
+my @invoke = @ARGV;
+
 my $ret = 0;
 
 # this should be only the major version without the extra version 
@@ -699,4 +701,10 @@ print OFILE "CFLAGS += -DRELEASE_VERSION=\\\"$release_version\\\"\n";
 
 close OFILE;
 
+open OFILE, ">${objdir}/.configure.sh" or die "Can't redirect stdout";
+print OFILE "#!/bin/bash\n";
+print OFILE "$0 @invoke \$@\n";
+print OFILE "exit \$?\n";
+close OFILE;
+
 print "Completed Makefile configuration\n\n";


hooks/post-receive
--
Cluster Project


                 reply	other threads:[~2008-07-09 10:48 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=20080709104813.15123.qmail@sourceware.org \
    --to=fabbione@sourceware.org \
    --cc=cluster-cvs@sources.redhat.com \
    --cc=cluster-devel@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).