]> granicus.if.org Git - docbook-dsssl/commitdiff
Tweak to use proper OASIS templates
authorNorman Walsh <ndw@nwalsh.com>
Wed, 17 Jul 2002 15:28:18 +0000 (15:28 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 17 Jul 2002 15:28:18 +0000 (15:28 +0000)
docbook/spec/Makefile

index 72ead9fb4553ffe71484fc514467c696625933ea..83b6b8c398f8012b618016c6b68e82bb70c7696b 100644 (file)
@@ -1,6 +1,6 @@
 include ../../cvstools/Makefile.incl
 
-SPECVER=4.2-CR3
+SPECVER=4.2
 
 ifeq ($(SPECVER),)
 SPECSEP=
@@ -8,15 +8,20 @@ else
 SPECSEP=-
 endif
 
-HTMLSTYLE=/projects/oasis/stylesheets/tr.xsl
-HTML-CSS=spec.css
+HTMLSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-html.xsl
+FOSTYLE=/projects/oasis/spectools/stylesheets/oasis-docbook-fo.xsl
 
-OASIS-LOGO=http://www.oasis-open.org/docbook/oasis.png
-XSLPARAM="html.stylesheet=$(HTML-CSS) oasis.logo=$(OASIS-LOGO)"
+XSLPARAM=""
 
-docbook.html: docbook.xml
+cs-docbook-docbook.html: cs-docbook-docbook.xml
        $(XJPARSE) $<
-       $(XSLT) $< $(HTMLSTYLE) docbook$(SPECSEP)$(SPECVER).html $(XSLPARAM)
+       $(XSLT) $< $(HTMLSTYLE) $(XSLPARAM)
+
+cs-docbook-docbook.pdf: cs-docbook-docbook.xml
+       $(XJPARSE) $<
+       $(XSLT) $< $(FOSTYLE) cs-docbook-docbook$(SPECSEP)$(SPECVER).fo $(XSLPARAM)
+       xep cs-docbook-docbook$(SPECSEP)$(SPECVER).fo
+       rm -f cs-docbook-docbook$(SPECSEP)$(SPECVER).fo
 
 clean:
        $(RM) *.html