Hello,


I have user-defined meta-target rule invocations in my Jamfiles that should only execute when option --clean is provided to the Boost b2 executable. What is the easiest way to have this happen?


Here is an some example Jamfile.file input:


mytest-clean test-01.clean

    : test-01.out

;

explicit test-01.clean ;



mytest-clean is a user-defined rule that I want invoked when the user specifies --clean on the b2 command line. Note that test-01 is a target name that is created by another user-defined generator.


Many thanks and with regards,


DougC