Is there a way to trigger a Clean for a target when SCons is required to
rebuild it (IE. always build this target from clean if the target is not
up-to-date)?

Example:

// variables
t = Compile( A.x )
z = Clean( t, <some additional clean items> )

// workflow
if t not up_to_date:
    execute z (call this clean)
    execute t (compile A.x)

V/R,
William
_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
http://two.pairlist.net/mailman/listinfo/scons-dev

Reply via email to