diff options
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/sgmlconv/make.rules | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules index 0eef957..b9b31f7 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 '^<?xml version="1.0"?>$$' - +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) |