aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2004-11-09 20:56:33 +0000
committerSimon Pepping <spepping@apache.org>2004-11-09 20:56:33 +0000
commitb09efc85f2d3e6cd0ac8e68e23cf6a8ec955e950 (patch)
treecaae4ccec670db6fb821534f75cc7609bbb75b07
parentf4b0079c8007e133c3eabfc635e311cdf99a3a04 (diff)
downloadxmlgraphics-fop-b09efc85f2d3e6cd0ac8e68e23cf6a8ec955e950.tar.gz
xmlgraphics-fop-b09efc85f2d3e6cd0ac8e68e23cf6a8ec955e950.zip
Renamed book.xml to DnI.xml to prevent confusion with the forrest
book.xml naming convention. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198132 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/documentation/content/xdocs/DnI/DnI.xml (renamed from src/documentation/content/xdocs/DnI/book.xml)0
-rw-r--r--src/documentation/content/xdocs/DnI/Makefile20
-rw-r--r--src/documentation/content/xdocs/DnI/README8
3 files changed, 14 insertions, 14 deletions
diff --git a/src/documentation/content/xdocs/DnI/book.xml b/src/documentation/content/xdocs/DnI/DnI.xml
index a528fe31b..a528fe31b 100644
--- a/src/documentation/content/xdocs/DnI/book.xml
+++ b/src/documentation/content/xdocs/DnI/DnI.xml
diff --git a/src/documentation/content/xdocs/DnI/Makefile b/src/documentation/content/xdocs/DnI/Makefile
index 98014017f..7b3dbd5b4 100644
--- a/src/documentation/content/xdocs/DnI/Makefile
+++ b/src/documentation/content/xdocs/DnI/Makefile
@@ -14,7 +14,7 @@
# $Id$
-BOOK=book.xml
+BOOK=DnI.xml
CHAPTERS=addareas.xml areatree.xml configuration.xml fonts.xml \
foptrees.xml fotree.xml getnextbreakposs.xml overview.xml \
preparation.xml properties.xml rendering.xml
@@ -27,7 +27,7 @@ STYLESHEETS=$(CUSTOM_DOCBOOK_XHTML_STYLESHEET) \
BOOKMAKER=BookMaker.java
# destinations
-BUILD_DIR=../../../../../build/
+BUILD_DIR=../../../../../build
BOOKMAKERCLASSPATH=$(BUILD_DIR)/classes
BOOKMAKER_CLASS=$(BOOKMAKERCLASSPATH)/BookMaker.class
DNI_BUILD_DIR=$(BUILD_DIR)/site/DnI
@@ -45,30 +45,30 @@ CLICLASSPATH=$(JAVACLASSES)/commons-cli-1.0.jar
all: xhtml html pdf
-xhtml: $(XHTML_DIR)/book-xhtml.xml
-html: $(HTML_DIR)/book.html
-fo: $(PDF_DIR)/book.fo
-pdf: $(PDF_DIR)/book.pdf
+xhtml: $(XHTML_DIR)/DnI-xhtml.xml
+html: $(HTML_DIR)/DnI.html
+fo: $(PDF_DIR)/DnI.fo
+pdf: $(PDF_DIR)/DnI.pdf
-$(XHTML_DIR)/book-xhtml.xml: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) $(BOOKMAKER_CLASS)
+$(XHTML_DIR)/DnI-xhtml.xml: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) $(BOOKMAKER_CLASS)
[ -d $(XHTML_DIR) ] || mkdir -p $(XHTML_DIR)
java $(JAVAFLAGS) \
-classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \
BookMaker $(PROGOPTS) --parameter base.dir $(XHTML_DIR)/ -xml $< -xsl $(CUSTOM_DOCBOOK_XHTML_STYLESHEET) -out $@
-$(HTML_DIR)/book.html: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_HTML_STYLESHEET) $(BOOKMAKER_CLASS)
+$(HTML_DIR)/DnI.html: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_HTML_STYLESHEET) $(BOOKMAKER_CLASS)
[ -d $(HTML_DIR) ] || mkdir -p $(HTML_DIR)
java $(JAVAFLAGS) \
-classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \
BookMaker $(PROGOPTS) --parameter base.dir $(HTML_DIR)/ -xml $< -xsl $(CUSTOM_DOCBOOK_HTML_STYLESHEET) -out $@
-$(PDF_DIR)/book.fo: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS)
+$(PDF_DIR)/DnI.fo: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS)
[ -d $(PDF_DIR) ] || mkdir -p $(PDF_DIR)
java $(JAVAFLAGS) \
-classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \
BookMaker $(PROGOPTS) -xml $< -xsl $(CUSTOM_DOCBOOK_FO_STYLESHEET) -out $@
-$(PDF_DIR)/book.pdf: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS)
+$(PDF_DIR)/DnI.pdf: $(BOOK) $(CHAPTERS) $(CUSTOM_DOCBOOK_FO_STYLESHEET) $(BOOKMAKER_CLASS)
[ -d $(PDF_DIR) ] || mkdir -p $(PDF_DIR)
java $(JAVAFLAGS) \
-classpath $(XERCESCLASSPATH):$(SAXONCLASSPATH):$(FOPCLASSPATH):$(AVALONCLASSPATH):$(RESOLVERCLASSPATH):$(CLICLASSPATH):$(BOOKMAKERCLASSPATH):$(CLASSPATH) \
diff --git a/src/documentation/content/xdocs/DnI/README b/src/documentation/content/xdocs/DnI/README
index 9138da809..16e4f1d0a 100644
--- a/src/documentation/content/xdocs/DnI/README
+++ b/src/documentation/content/xdocs/DnI/README
@@ -6,7 +6,7 @@ implementation'.
The book is structured according to the Docbook XML DTD version 4.2,
top-level element book.
-The top level file is book.xml. It calls in the various chapter files.
+The top level file is DnI.xml. It calls in the various chapter files.
The book can be converted to XHTML, HTML and FO using the Docbook XSL
stylesheets. For each of these formats there are customization XSL
@@ -59,17 +59,17 @@ java, possibly none.
java $JAVAFLAGS -cp "$SAXONCLASSPATH:$CLASSPATH" \
com.icl.saxon.StyleSheet \
-o ../documentation-xhtml/book-xhtml.xml \
- book.xml cust-xhtml-docbook.xsl
+ DnI.xml cust-xhtml-docbook.xsl
java $JAVAFLAGS -cp "$SAXONCLASSPATH:$CLASSPATH" \
com.icl.saxon.StyleSheet \
-o ../documentation-html/book.html \
- book.xml cust-html-docbook.xsl
+ DnI.xml cust-html-docbook.xsl
java $JAVAFLAGS \
-cp $SAXONCLASSPATH:$FOPCLASSPATH:$AVALONCLASSPATH:$CLASSPATH \
org.apache.fop.apps.Fop \
- -xml book.xml -xsl cust-html-docbook.xsl -pdf book.pdf
+ -xml DnI.xml -xsl cust-html-docbook.xsl -pdf book.pdf
I will try to construct an ant build file and an XML catalog which
make conversion with your own XML and Java system easier.