On 8 November 2010 13:04, Rene Rivera <grafikrobot@gmail.com> wrote:
On 11/8/2010 6:47 AM, Darren Garvey wrote:

I'm using a script to generate some files and then using an install rule to
copy generated headers around.

I'm having a problem with the [ glob *.hpp ] rule being evaluated before the
SHELL command that generates the .hpp files runs. Sounds exactly like this
problem: http://comments.gmane.org/gmane.comp.lib.boost.build/20240.

Is the conclusion that it's best doing this outside of Boost Build entirely?
Have things changed and there is a way to make this work nicely?

Any help would be much appreciated.

The only change from when that thread dates to.. Is that now there's the capability to run actions "before" the build starts. But I don't know if it helps in your use case. Perhaps Volodya can think of something.

I can work around it by including a "cp ..." shell command in my generation rule. This doesn't help with cleaning up the files but I can live with that.

Thanks for the info Rene.