public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Use the input file name to determine a SUBST output file type.
@ 2008-04-16 17:45 cagney
  0 siblings, 0 replies; only message in thread
From: cagney @ 2008-04-16 17:45 UTC (permalink / raw)
  To: frysk-cvs

The branch, master has been updated
       via  09aea1d0cc8533a671774fba910304ee4001b767 (commit)
      from  0dbbd62ddb3f23e9e5c8ee8d2fb72458bdfbc9e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 09aea1d0cc8533a671774fba910304ee4001b767
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed Apr 16 13:42:54 2008 -0400

    Use the input file name to determine a SUBST output file type.
    
    frysk-common/ChangeLog
    2008-04-16  Andrew Cagney  <cagney@redhat.com>
    
    	* Makefile.rules (SUBST): Match -in input file name, not output
    	file name when selecting action.

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

Summary of changes:
 frysk-common/ChangeLog      |    5 +++++
 frysk-common/Makefile.rules |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-common/ChangeLog b/frysk-common/ChangeLog
index c4854cf..09e6375 100644
--- a/frysk-common/ChangeLog
+++ b/frysk-common/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-16  Andrew Cagney  <cagney@redhat.com>
+
+	* Makefile.rules (SUBST): Match -in input file name, not output
+	file name when selecting action.
+
 2008-04-15  Andrew Cagney  <cagney@redhat.com>
 
 	* TestRunner.java-in: Use PrefixFactory.
diff --git a/frysk-common/Makefile.rules b/frysk-common/Makefile.rules
index 59d6005..4a90e3a 100644
--- a/frysk-common/Makefile.rules
+++ b/frysk-common/Makefile.rules
@@ -285,13 +285,13 @@ SUBST = \
 	mkdir -p `dirname $@` ; \
 	rm -f $@.tmp ; \
 	touch $@.tmp ; \
-	case "$@" in \
-		*.cxx | *.c) \
+	case "$<" in \
+		*.cxx-in | *.c-in) \
 			echo '// Generated from: $<'	>> $@.tmp ; \
 			echo ''				>> $@.tmp ; \
 			echo '\#line 1 "$<"'		>> $@.tmp ; \
 			;; \
-		*.java) \
+		*.java-in) \
 			echo '// Generated from: $<'	>> $@.tmp ; \
 			echo ''				>> $@.tmp ; \
 			;; \


hooks/post-receive
--
frysk system monitor/debugger


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-16 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-16 17:45 [SCM] master: Use the input file name to determine a SUBST output file type cagney

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).