diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules index 0eef9579a7e..b9b31f71868 100644 --- a/Doc/tools/sgmlconv/make.rules +++ b/Doc/tools/sgmlconv/make.rules @@ -12,18 +12,20 @@ ESIS2XML= $(TOOLSDIR)/sgmlconv/esis2sgml.py --xml FIXGES= $(TOOLSDIR)/sgmlconv/fixgenents.sh LATEX2ESIS= $(TOOLSDIR)/sgmlconv/latex2esis.py -CUTCRUFT= grep -v '^$$' - +ESISTARGETS= $(patsubst %.tex,%.esis,$(wildcard *.tex)) XMLTARGETS= $(patsubst %.tex,%.xml,$(wildcard *.tex)) -.SUFFIXES: .tex .xml +.SUFFIXES: .esis .tex .xml -.tex.xml: - $(LATEX2ESIS) $< | $(DOCFIXER) | $(CUTCRUFT) | $(FIXGES) > $@ +.tex.esis: + $(LATEX2ESIS) $< $@ +.esis.xml: + $(DOCFIXER) $< | $(FIXGES) > $@ all: $(XMLTARGETS) -$(XMLTARGETS): $(DOCFIXER) $(LATEX2ESIS) $(FIXGES) +$(ESISTARGETS): $(LATEX2ESIS) +$(XMLTARGETS): $(DOCFIXER) $(FIXGES)