From c10f186c917ef31e8e683a4f5a8680cd529ef753 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Tue, 27 Jul 2004 15:29:02 +0000 Subject: [PATCH] Updated builds --- docbook/ebnf/spec/Makefile | 43 +++++++++++++------------------------- docbook/ebnf/spec/fo.xsl | 10 +++++++++ 2 files changed, 24 insertions(+), 29 deletions(-) create mode 100644 docbook/ebnf/spec/fo.xsl diff --git a/docbook/ebnf/spec/Makefile b/docbook/ebnf/spec/Makefile index ae76e6a5a..21f15bc0d 100644 --- a/docbook/ebnf/spec/Makefile +++ b/docbook/ebnf/spec/Makefile @@ -1,41 +1,26 @@ include ../../../cvstools/Makefile.incl -XSLT=xsltproc - -STATUS=wd -OASISTC=docbook -SPECNAME=ebnf -SPECVER=1.1-CR1 - -SPECROOT=$(STATUS)-$(OASISTC)-$(SPECNAME) -SPECBASE=$(SPECROOT)-$(SPECVER) +XJPARSE=/home/ndw/bin/xjparse HTMLSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-html.xsl -HTMLPARAM= +FOSTYLE=fo.xsl -FOSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-fo.xsl -FOPARAM=oasis.logo=/projects/oasis/spectools/images/oasis.png +XSLPARAM="" -all: html pdf +all: ebnf.html -valid: $(SPECROOT).xml +ebnf.html: ebnf.xml $(XJPARSE) $< + $(XSLT) $< $(HTMLSTYLE) $@ $(XSLPARAM) + tidy -q -utf8 -mn -asxml $@ -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) +ebnf.fo: ebnf.xml + $(XJPARSE) $< + $(XSLT) $< $(FOSTYLE) ebnf.fo $(XSLPARAM) -$(SPECBASE).pdf: $(SPECBASE).fo - xep -2 $(SPECBASE).fo - rm -f $(SPECBASE).fo +ebnf.pdf: ebnf.fo + xep $< clean: - $(RM) -f *.html *.pdf *.fo + $(RM) *.html + diff --git a/docbook/ebnf/spec/fo.xsl b/docbook/ebnf/spec/fo.xsl new file mode 100644 index 000000000..f760162a6 --- /dev/null +++ b/docbook/ebnf/spec/fo.xsl @@ -0,0 +1,10 @@ + + + + + + + + -- 2.40.0