|
Boost-Build : |
From: Mark Evans (evans_mark_at_[hidden])
Date: 2006-03-16 16:13:52
I found a solution to this but it required effort at the shell level in the actions block using sed to translate $(>) to the desired filename. Is there any other way?
Maybe it's not such a dumb question after all.
Mark Evans <evans_mark_at_[hidden]> wrote: This is a dumb question:
>From an action rule, I need to get the pathname(s) of source file(s) that are in a dependent project outside of the current project. I need to generate command to remove an unwanted listing file this particular compiler produces in the same directory as the source file.
The command sequence would be something like:
ptal ../../foo/bar.tal
rm -f ../../foo/bar.L
How do I get "../../foo/bar.tal" in the compile rule for .tal files? I.e.,
rule compile.ptal ( targets * : sources * : properties * )
{
# How to get actual path of $(sources) ????
}
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