Hello!
I have the following directory structure:
exercise01.tex
exercise01/a-drawing.fig
exercise01/another-figure.fig
exercise02.tex
exercise02/...
So I want to compile the .tex files, which depend on the .fig files
converted to .eps before.
My first try was a rule like the first one below (I know it is not
correct, but I think it is clear what I try to achieve):
%.pdf: %.tex %/*.eps
.....
%.eps: %.fig
.....
This will obviously not work, and it seems also impossible to replace
"%/*.eps" like
$(wildcard $@/*.eps)
or
$(filter $@/%,$drawings)
where $drawings is a list of all fig files in all subdirectories.
So it looks to me like I would need to generate dependencies by using an
little shell script, but before I do this, I want to be sure that make
cannot do this for itself ;)
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make