Boost logo

Boost-Build :

Subject: Re: [Boost-build] adding to the "clean" target
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-05-18 03:03:16


On 5/16/2015 9:01 PM, Stefan Seefeld wrote:
> Hello,
>
> I'm building examples in Boost.Python's examples folder(s). Running
> `bjam clean` will clean up some of the files, but no all. How can I
> augment the "clean" rule to do additional cleanup ?

Stefan,

the best way to is to identify those files, and make sure that
python.jam creates targets for them. Typically, it's done by
making sure these files are listed as outputs of corresponding
generators.

Does this help?

> PS: http://www.boost.org/build/doc/html/bbv2/faq/names.html mentions
> "b2" to be the new name instead of "bjam", since release 1.47. However,
> I'm running Fedora 22, which contains boost 1.55, and the executable is
> still called "bjam". It might be worthwhile referencing that name in the
> docs a little longer...

It would be awkward to write "b2 or bjam" everywhere in docs, and I
think this passage is sufficient.

Thanks,
Volodya


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