|
Boost-Build : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-25 19:31:28
On Tuesday, December 25, 2001, at 04:01 AM, Vladimir Prus wrote:
>
> Well, I still see no way to make rules visible as qualified names,
> except for
>
> IMPORT $(module) : rule : : $(module).rule ;
>
> Is it the right way?
It's what I had in mind. Is it less than satisfactory for some reason?
>> Hmm, yes. If we use && between the commands it won't have that effect.
>> Actually, the rm command should be done as a separate step, as with
>> command-file handling on windows.
>
> It appears to be a general problem worth fixing. Adding && on Linux is
> extra
> simple, but... is there equivalent semantics for Windows? or whatever
> other
> platforms Jam runs at?
&& is portable to NT at least, but I think Windows returns a nonzero
exit code if any step fails. I know nothing about platforms other than
Windows and Unix.
>
> Okay, David Turner and David Abrahams added to copyright. The change is
> checked in.
>
Thanks,
Dave
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk