$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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