diff options
author | Fred Drake <fdrake@acm.org> | 1999-07-22 13:56:51 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-07-22 13:56:51 (GMT) |
commit | 7dbde51f977bd63eb84c11fa3407b4ee2e36fd96 (patch) | |
tree | eb7d1848eb00b148b95101b466b67d2b9edebc1e /Doc/tools/sgmlconv/make.rules | |
parent | 5d48e458e4bfb92fb0df3b2d00689ae04e2e3b1f (diff) | |
download | cpython-7dbde51f977bd63eb84c11fa3407b4ee2e36fd96.zip cpython-7dbde51f977bd63eb84c11fa3407b4ee2e36fd96.tar.gz cpython-7dbde51f977bd63eb84c11fa3407b4ee2e36fd96.tar.bz2 |
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).
Diffstat (limited to 'Doc/tools/sgmlconv/make.rules')
-rw-r--r-- | Doc/tools/sgmlconv/make.rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules index 029fb41..491784e 100644 --- a/Doc/tools/sgmlconv/make.rules +++ b/Doc/tools/sgmlconv/make.rules @@ -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) > $@ |