diff options
author | Fred Drake <fdrake@acm.org> | 1998-11-30 22:31:45 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-11-30 22:31:45 +0000 |
commit | 1231a7dd4c374d9b45219be6a544b4c7a7f99dfa (patch) | |
tree | e1ff4d0d1072f486e3cc67d6b40571c2cb89a07c | |
parent | 3355e915ee07bd4acd1bd64b8691bda0000bd1cc (diff) | |
download | cpython-1231a7dd4c374d9b45219be6a544b4c7a7f99dfa.tar.gz |
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.
Separate ESIS generation from XML generation. This will evolve a bit
more in a couple of days.
-rw-r--r-- | Doc/tools/sgmlconv/make.rules | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Doc/tools/sgmlconv/make.rules b/Doc/tools/sgmlconv/make.rules index 0eef9579a7..b9b31f7186 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) |