Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7dbde51

Browse files
committed
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).
1 parent 5d48e45 commit 7dbde51

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/tools/sgmlconv/make.rules

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SGMLTARGETS= $(patsubst %.tex,%.sgml,$(wildcard *.tex))
1313
XMLTARGETS= $(patsubst %.tex,%.xml,$(wildcard *.tex))
1414

1515

16-
all: sgml
16+
all: xml
1717

1818
esis: $(ESISTARGETS)
1919
sgml: $(SGMLTARGETS)
@@ -29,7 +29,9 @@ $(XMLTARGETS): $(ESIS2ML) $(FIXGES)
2929
.SUFFIXES: .esis .sgml .tex .xml
3030

3131
.tex.esis:
32-
$(LATEX2ESIS) $< | $(DOCFIXER) > $@
32+
$(LATEX2ESIS) $< temp.esis
33+
$(DOCFIXER) temp.esis $@
34+
rm temp.esis
3335

3436
.esis.sgml:
3537
$(ESIS2ML) --sgml --autoclose para $< | $(FIXGES) > $@

0 commit comments

Comments
 (0)