how to write a general rule
"Joerg Beyer" <j.beyer-S0/[email protected]>
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
Dear Listreader,
I am not sure, how to write a generell aap-rule. I have a
inputfile x.in that sould be transformed to x.out. For the
sake of simplicity let's assume that the tranformation is
a sed step.
So I have this aap rule:
------------------
x.out : x.in
:sys sed -e "s,e,X,g" <$source >$target
------------------
This works fine. Now my question: how do I generalize
this rule for file x.in to any file that ends with a ".in"?
Joerg
@bram: I cant find this in the manual, but I will make up
a documented example for the documentation - if you like.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/