Kaydet (Commit) 7dbde51f authored tarafından Fred Drake's avatar Fred Drake

Make the default target xml instead of sgml.

Use a temporary file to pass results from latex2esis.py to
docfixer.py; this makes for better error detection by make (if the
first pipeline stage fails, make wasn't catching it).
üst 5d48e458
......@@ -13,7 +13,7 @@ SGMLTARGETS= $(patsubst %.tex,%.sgml,$(wildcard *.tex))
XMLTARGETS= $(patsubst %.tex,%.xml,$(wildcard *.tex))
all: sgml
all: xml
esis: $(ESISTARGETS)
sgml: $(SGMLTARGETS)
......@@ -29,7 +29,9 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES)
.SUFFIXES: .esis .sgml .tex .xml
.tex.esis:
$(LATEX2ESIS) $< | $(DOCFIXER) > $@
$(LATEX2ESIS) $< temp.esis
$(DOCFIXER) temp.esis $@
rm temp.esis
.esis.sgml:
$(ESIS2ML) --sgml --autoclose para $< | $(FIXGES) > $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment