summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-11-30 22:31:45 (GMT)
committerFred Drake <fdrake@acm.org>1998-11-30 22:31:45 (GMT)
commitf954b6516e1b5bb015c5045007afb220f6e33588 (patch)
tree4ddcb5d2c10e94cc7e3f5af0c46d0d7e369565e7 /Doc
parent3d5e2c032d2df174b77d53dc26ef22ae3108f084 (diff)
downloadcpython-f954b6516e1b5bb015c5045007afb220f6e33588.zip
cpython-f954b6516e1b5bb015c5045007afb220f6e33588.tar.gz
cpython-f954b6516e1b5bb015c5045007afb220f6e33588.tar.bz2
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.
Separate ESIS generation from XML generation. This will evolve a bit more in a couple of days.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/sgmlconv/make.rules14
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules
index 0eef957..b9b31f7 100644
--- a/Doc/tools/sgmlconv/make.rules
+++ b/Doc/tools/sgmlconv/make.rules
@@ -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)