From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-14 10:33:37
On Monday 13 June 2005 15:13, Toon Knapen wrote:
> I would like to add a main target that executes a shell script after a
> specific stage rule has been executed.
> So I write a new rule and the corresponding actions that calls my
> shell-script. This shell-script is intended to perform some actions on some
> libraries that are installed in some specific place using a 'stage' rule.
> Thus of course, my shell-script must execute *after* the stage rule is
> executed. I searched in the archives and the doc but did not find a way to
> trigger my 'actions' *after* the staging of the libraries.
> All hints would be very much appreciated.
stage dist : libs//whatever ;
notfile postprocess-them-all : dist ;
The targets produced by 'dist' will be fed as sources to another main target,
and that main targets will be built only after 'dist' is done installing
The above uses my 'notfile' target that I've posted a while ago -- you can
search the archive. I'll commit it tomorrow
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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