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:
Fred Drake 1998-11-30 22:31:45 +00:00
parent 3d5e2c032d
commit f954b6516e
1 changed files with 8 additions and 6 deletions

View File

@ -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)