Bruce Momjian wrote:
> The rule re-runs the makefile for the specific target, and the target
> modifies HTML.index, or it is only the HTML rule that modifies that.
Only the html rule modifies HTML.index.
> That was a question I had. If that is true, it has to be:
>
> %-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
> $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@
> $< ifndef DRAFT
> @cmp -s HTML.index.start HTML.index || $(MAKE) html $@
> endif
It would much easier to just run the html rule before the other stuff.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/