help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple targets with one command


From: Martin Schröder
Subject: Multiple targets with one command
Date: Thu, 20 Nov 2003 17:10:42 +0100
User-agent: Mutt/1.4.1i

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, address@hidden
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10
                    http://www.artcom-gmbh.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]