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?<br><br>Maybe it's not such a dumb question after all.<br><br><b><i>Mark Evans <evans_mark@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> This is a dumb question:<br><br>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.<br><br>The command sequence would be something like:<br><br>ptal ../../foo/bar.tal<br>rm -f ../../foo/bar.L<br><br>How do I get "../../foo/bar.tal" in the compile rule for .tal files? I.e., <br><br>rule compile.ptal ( targets * : sources * : properties * )<br>{<br> # How to get actual path of $(sources) ????<br>}<br></blockquote><br>