]> granicus.if.org Git - python/commitdiff
Make the default target xml instead of sgml.
authorFred Drake <fdrake@acm.org>
Thu, 22 Jul 1999 13:56:51 +0000 (13:56 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 22 Jul 1999 13:56:51 +0000 (13:56 +0000)
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).

Doc/tools/sgmlconv/make.rules

index 029fb415353a6c84b5ab333feb8674326ee8dccd..491784ed129e0cd3cd9927a2a56602a6a1fa9ba9 100644 (file)
@@ -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) > $@