[Scons-users] alias clean

Dirk Bächle tshortik at gmx.de
Sun Oct 28 07:09:42 EDT 2012


Hi Philipp,

cleaning up in SCons is done as an "un-build". So you'll have to define
a target alias "buildall", containing all the other Alias that you want
to get cleaned up.
Then you can call "scons -c buildall"...and you may well rename the
target to "cleanall", if you like. ;)

Best regards,

Dirk

On 28.10.2012 11:07, Kraus Philipp wrote:

> Am 27.10.2012 um 22:19 schrieb William Deegan:

>

>> On Oct 27, 2012, at 8:00 AM, Kraus Philipp <philipp.kraus at flashpixx.de> wrote:

>>

>>> Hello,

>>>

>>> I have defined different aliases. If run "scons myalias" the target is build and I can clean it with "scons myalias -c".

>>> On "scons -c" all aliases are not touched. How can I run each "alias clean actions" on the main -c run like a "recursiv clean up" ?

>> So with "scons" it doesn't build those alias's products?

>> (with no arguments?)

>>

>> Are they outside the build tree? Or otherwise not added to the graph if the alias is not invoked?

> I have defined in subscript different alias' like

> env.Alias("sublib" .....)

>

> The I can clean the alias with "scons sublib -c", works well, but I would like to create a "scons cleanall" for cleaning all aliases.

>

> Phil

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>




More information about the Scons-users mailing list