From: Adam Di Carlo Date: Sat, 5 Apr 2003 19:51:55 +0000 (+0000) Subject: producing RTF X-Git-Tag: release/1.79.1~6^2~4729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32ba37b6f4e8f06b4a86d2b52fe3f7761226bcb7;p=docbook-dsssl producing RTF --- diff --git a/testdocs/.cvsignore b/testdocs/.cvsignore index 70039e6ca..1699a7746 100644 --- a/testdocs/.cvsignore +++ b/testdocs/.cvsignore @@ -5,6 +5,7 @@ *.index.xml *.out *.pdf +*.rtf *.tex WhatsNew focustom.xsl diff --git a/testdocs/Makefile b/testdocs/Makefile index ee66260df..f8823aee0 100644 --- a/testdocs/Makefile +++ b/testdocs/Makefile @@ -3,7 +3,7 @@ include ../cvstools/Makefile.incl VPATH=.:tests/ -.SUFFIXES: .html .fo .xml .pdf .index .tex +.SUFFIXES: .html .fo .xml .pdf .index .tex .rtf .dvi # testing mode, either dsssl or xsl MODE ?= xsl @@ -113,6 +113,17 @@ else $(JADE) fo $(DSSSLPRINT) $< -o $@ endif +.xml.rtf: +ifeq ($(VALIDATE),1) + $(XJPARSE) $< +endif +ifeq ($(MODE),xsl) + @echo "not sure how to make RTF" + exit 1 +else + $(JADE) rtf $(DSSSLPRINT) $< -o $@ +endif + ifeq ($(MODE),dsssl) .xml.tex: ifeq ($(VALIDATE),1)