mirror of https://github.com/python/cpython.git
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.
Separate ESIS generation from XML generation. This will evolve a bit more in a couple of days.
This commit is contained in:
parent
3d5e2c032d
commit
f954b6516e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue