From 75d3a689d5da6fb80c9420df9a5585b70ce1a74b Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Thu, 13 Jun 2002 18:04:25 +0000 Subject: [PATCH] Updated --- xmlcharent/spec/.cvsignore | 2 ++ xmlcharent/spec/Makefile | 49 +++++++++++++++++++++++++------------- 2 files changed, 34 insertions(+), 17 deletions(-) diff --git a/xmlcharent/spec/.cvsignore b/xmlcharent/spec/.cvsignore index 6fc21c17e..59a9077bf 100644 --- a/xmlcharent/spec/.cvsignore +++ b/xmlcharent/spec/.cvsignore @@ -1,3 +1,5 @@ *.gen *.html *.css +*.fo +*.pdf diff --git a/xmlcharent/spec/Makefile b/xmlcharent/spec/Makefile index 956405e7d..d3d254f03 100644 --- a/xmlcharent/spec/Makefile +++ b/xmlcharent/spec/Makefile @@ -1,26 +1,41 @@ include ../../cvstools/Makefile.incl -SPECVER= +XSLT=xsltproc -ifeq ($(SPECVER),) -SPECSEP= -else -SPECSEP=- -endif +STATUS=wd +OASISTC=docbook +SPECNAME=xmlcharent +SPECVER=0.3 -HTMLSTYLE=/projects/oasis/stylesheets/tr.xsl -HTML-CSS=spec.css +SPECROOT=$(STATUS)-$(OASISTC)-$(SPECNAME) +SPECBASE=$(SPECROOT)-$(SPECVER) -OASIS-LOGO=http://www.oasis-open.org/docbook/oasis.png -XSLPARAM=html.stylesheet=$(HTML-CSS) oasis.logo=$(OASIS-LOGO) +HTMLSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-html.xsl +HTMLPARAM= -XSLT=saxon +FOSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-fo.xsl +FOPARAM=oasis.logo=/projects/oasis/spectools/images/oasis.png -all: entities.html +all: html pdf -tables: - perl gentext.pl - -entities.html: entities.xml +valid: $(SPECROOT).xml $(XJPARSE) $< - $(XSLT) $< $(HTMLSTYLE) entities$(SPECSEP)$(SPECVER).html $(XSLPARAM) + +html: $(SPECBASE).html + +fo: $(SPECBASE).fo + +pdf: $(SPECBASE).pdf + +$(SPECBASE).html: $(SPECROOT).xml valid + $(XSLT) $< $(HTMLSTYLE) $(SPECBASE).html $(HTMLPARAM) + +$(SPECBASE).fo: $(SPECROOT).xml valid + $(XSLT) $< $(FOSTYLE) $(SPECBASE).fo $(FOPARAM) + +$(SPECBASE).pdf: $(SPECBASE).fo + xep $(SPECBASE).fo + rm -f $(SPECBASE).fo + +clean: + $(RM) -f *.html *.pdf *.fo -- 2.50.1