On Fri, 8 Mar 2002, Joshua Slive wrote:
The problem with make is that we would need to list each xml file in the
makefile. We're trying to reduce that kind of duplication.
No, you don't. How about;
.SUFFIXES : .html .xml
vpath = ../mod/
xmlfiles := ../mod/*.xml
htmlfiles := $(patsubst %.xml,%.html,$(xmlfiles))
all: $(htmlfiles)
%.html : %.xml
XalanTransform $ ./manual.xsl $@
Works great - well, at least as proof-of-concept :-)
--
.-.
| Patrik Grip-Jansson |
| Ringen 4B |..
| 78444 Borlänge .--'' http://gnulix.com/ `-.
| Sweden | All views and opinions are my own, |
`--| PH:+46(0)24382823 PW:+46(0)707354360 |
`--'
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]