[Top][All Lists]

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

(no subject)

From: d3
Subject: (no subject)
Date: Tue, 9 Mar 2004 17:14:37 +0100
User-agent: Internet Messaging Program (IMP) 3.0


I have two direcories:
 - xmldocs with files named abc<pattern>def.xml
 - txtdocs with files named rst<pattern>uvw.txt

There's a command which converts xml to txt, f.e. abc001def.xml to

I'm looking for a rule that for every xml file in xmldocs
looks in txtdocs for the corresponding txt-version of the
file. If it is older or doesn't exist then it has to be made.

Something like: 
xmldocs/abc%def.xml:  txtdocs/rst%uvw.txt
        convert $@ $<

I tried this, but you have to call make for every file in xmldocs. I would 
like make to detect new(er) xml files and convert them to txt automatically.

I'm using version 3.8 in Windows XP.

With kindly regards,


reply via email to

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