public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Use the input file name to determine a SUBST output file type. Date: Wed, 16 Apr 2008 17:45:00 -0000 [thread overview] Message-ID: <20080416174522.22320.qmail@sourceware.org> (raw) 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
reply other threads:[~2008-04-16 17:45 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=20080416174522.22320.qmail@sourceware.org \ --to=cagney@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@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: linkBe 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).