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) ????
}