From: Luca Berra <bluca@comedia.it>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Make doesn't abort on error
Date: Sun, 17 Dec 2000 11:01:47 +0100 [thread overview]
Message-ID: <20001217110147.B9917@colombina.comedia.it> (raw)
In-Reply-To: <00121616190202.10070@lyta>; from russell@coker.com.au on Sat, Dec 16, 2000 at 04:19:02PM +0100
On Sat, Dec 16, 2000 at 04:19:02PM +0100, Russell Coker wrote:
> Above is the error condition that make isn't detecting. I've changed the
> makefiles to use sonames so I can have multiple versions installed with ease
> (I'll send the patch here when it's working - hopefully within 24 hours
> otherwise maybe after Christmas).
i already posted such a patch
> Below is the code from make.tmpl. For some reason when the "make -c
> tools/lib all" fails it doesn't result in compilation aborting. Perhaps
> someone who knows make and shell scripting better than I can advise...
>
> all:
> @for d in $(SUBDIRS); \
> do \
> if [ "$$d" = "." ]; \
> then \
> $(MAKE) all_this; \
> else \
> $(MAKE) -C $$d all; \
> fi; \
> done
make checks output of the command it issues, in this case the shell that runs
the for loop, since the for loop has no error checking make does not complain.
If you want make to exit you should either recode the for loop or do something
like this:
--- --- --- --- --- ---
all: $(SUBDIRS)
$(SUBDIRS): dummy
$(MAKE) -C $@
dummy:
--- --- --- --- --- ---
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
prev parent reply other threads:[~2000-12-17 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-16 15:19 [linux-lvm] Make doesn't abort on error Russell Coker
2000-12-17 10:01 ` Luca Berra [this message]
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=20001217110147.B9917@colombina.comedia.it \
--to=bluca@comedia.it \
--cc=linux-lvm@sistina.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