From: Jim Blandy <jimb@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: respect -k or its absence when building sim subdirs
Date: Fri, 15 Apr 2005 00:20:00 -0000 [thread overview]
Message-ID: <vt2aco0q4ax.fsf@zenia.home> (raw)
In-Reply-To: <20050414192501.GB19262@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> On Wed, Apr 13, 2005 at 12:32:23PM -0500, Jim Blandy wrote:
> >
> > Overkill, probably. I just hate this kind of stuff.
> >
> > 2005-04-13 Jim Blandy <jimb@redhat.com>
> >
> > Fix -k handling when looping over subdirectories.
> > * for-subdirs.sh: New script.
> > * Makefile.in (all clean mostlyclean distclean maintainer-clean
> > realclean install): Use it to loop over subdirectories.
>
> Wow... this really is overkill, and I'm not sure that the quoting does
> what you want it to. Can't you do this in make more straightforwardly?
> I know you can in GNU make, anyway.
Can you suggest a strategy? Whatever you do, you have to replicate it
in each of those targets. If it's not pretty trivial, I don't want to
write it out every time; it belongs in a "function", which, in this
world, is a script.
After I posted, I realized the quoting could be simplified to:
clean mostlyclean:
@rootme=`pwd` ; export rootme ; \
! $(SHELL) $(srcdir)/for-subdirs.sh \
! "$(MAKEFLAGS)" '$(MAKE) $(FLAGS_TO_PASS) $@' $(SUBDIRS)
Where else were you worried about the quoting?
next prev parent reply other threads:[~2005-04-15 0:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-13 17:32 Jim Blandy
2005-04-14 19:25 ` Daniel Jacobowitz
2005-04-15 0:20 ` Jim Blandy [this message]
2005-04-15 0:30 ` Daniel Jacobowitz
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=vt2aco0q4ax.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=drow@false.org \
--cc=gdb-patches@sources.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