Boost logo

Boost-Build :

Subject: [Boost-build] How to make a target always build?
From: Matthew Chambers (matthew.chambers_at_[hidden])
Date: 2009-08-21 16:23:25


I can't figure out how to make my tarball targets always build. I tried
the ALWAYS rule on both the filename and the target itself and neither
did anything.

rule create ( tar-filepath : tar-sources * : tar-options * )
{
    local tar = [ targets.create-typed-target TBZ2 : [ project.current ] :
                    $(tar-filepath) : $(tar-sources) : $(tar-options) ] ;
    ALWAYS $(tar) ; # doesn't work
    ALWAYS $(tar-filepath) ; # doesn't work
    return $(tar) ;
}

Thanks,
Matt


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