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@yahoo.com> 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) ????
}