GNU C Library master sources branch, master, updated. glibc-2.11-368-g17ad387

roland@sourceware.org roland@sourceware.org
Fri Apr 9 22:32:00 GMT 2010


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 "GNU C Library master sources".

The branch, master has been updated
       via  17ad3877276b37af45c380b07b975406cf2e95de (commit)
      from  4ae73ca00adbf6bf54bafe93d1318e3446af5919 (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 -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=17ad3877276b37af45c380b07b975406cf2e95de

commit 17ad3877276b37af45c380b07b975406cf2e95de
Author: Roland McGrath <roland@redhat.com>
Date:   Fri Apr 9 15:31:45 2010 -0700

    Use a stamp file for libc-abis.h rule.

diff --git a/ChangeLog b/ChangeLog
index 7d8f1cd..c38784e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-04-09  Roland McGrath  <roland@redhat.com>
 
+	* Makerules ($(common-objpfx)libc-abis.h): Depend on libc-abis.stamp.
+	($(common-objpfx)libc-abis.stamp): New target, rule moved from
+	libc-abis.h target.  Use a stamp file to avoid repeating no-op
+	move-if-change on every run.
+
 	* posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
 
 2010-04-08  Ulrich Drepper  <drepper@redhat.com>
diff --git a/Makerules b/Makerules
index bf03b38..9bfe550 100644
--- a/Makerules
+++ b/Makerules
@@ -111,14 +111,16 @@ endif # $(versioning) = yes
 
 ifndef avoid-generated
 before-compile := $(common-objpfx)libc-abis.h $(before-compile)
-$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis \
+$(common-objpfx)libc-abis.h: $(common-objpfx)libc-abis.stamp; @:
+$(common-objpfx)libc-abis.stamp: $(..)scripts/gen-libc-abis \
 			     $(firstword $(wildcard $(sysdirs:=/libc-abis)) \
 					 $(..)libc-abis) \
 			     $(..)Makerules
 	$(SHELL) $< \
 		 $(base-machine)-$(config-vendor)-$(config-os) \
-		 < $(word 2,$^) > $@T
-	$(move-if-change) $@T $@
+		 < $(word 2,$^) > $(@:.stamp=.h)T
+	$(move-if-change) $(@:.stamp=.h)T $(@:.stamp=.h)
+	touch $@
 common-generated += $(common-objpfx)libc-abis.h
 endif # avoid-generated
 

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

Summary of changes:
 ChangeLog |    5 +++++
 Makerules |    8 +++++---
 2 files changed, 10 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list