I'm not sure if the following will suit your needs.
Whenever I've had to deal with something like this (eg swig), I do something like:
file1: source.dtx source.ins
file2 file3: file1
HTH,
Noel
Martin Schr�der wrote:
>
> Hi,
> I am generating source files from TeX documentation by using
> docstrip. This generates n files in one step. The obvious rule
>
> file1 file2 file3 : source.dtx source.ins
> latex source.ins
>
> will execute the command once for each file -- while every
> executing of the command generates all files.
>
> Patterns are not really a solution as the names of the source
> files don't depend on the target names; i.e. there would normally
> be no % on the right side of the rule. Older versions of gnu make
> (which I have to cope with) don't like this. :-{
>
> Is there any technique to handle this with rules and not loose
> the listing of every file as a target?
>
> Thanks in advance
> Martin
> --
> Martin Schr�der, [EMAIL PROTECTED]
> ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
> Voice +49 421 20419-44 / Fax +49 421 20419-10
> http://www.artcom-gmbh.de
>
> _______________________________________________
> Help-make mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/help-make
--
NOTICE: If received in error, please destroy and notify sender. Sender does not waive
confidentiality or privilege, and use is prohibited.
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make