[Scons-dev] Cleaning a target on rebuild
William Blevins
wblevins001 at gmail.com
Wed Aug 20 21:14:14 EDT 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20140820/0002ca2b/attachment.html>
More information about the Scons-dev
mailing list