[Telepathy-commits] [telepathy-doc/master] Initial work on new HTML templates
Davyd Madeley
davyd at madeley.id.au
Tue Mar 3 19:23:56 PST 2009
---
docs/book/Makefile.am | 40 +++++++++++++++++++++++-----------------
1 files changed, 23 insertions(+), 17 deletions(-)
diff --git a/docs/book/Makefile.am b/docs/book/Makefile.am
index 06455fb..0c22fc2 100644
--- a/docs/book/Makefile.am
+++ b/docs/book/Makefile.am
@@ -45,7 +45,7 @@ MAIN = C/$(DOC_MODULE)-with-examples.xml
HTML_STYLESHEET = book.css
XSLTPROC = xsltproc
-DOCBOOK_STYLESHEET ?= http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
+DOCBOOK_STYLESHEET ?= $(shell pkg-config --variable db2html gnome-doc-utils)
# Create a html generation of the C locale's version of the DocBook,
# using our custom stylesheet and graphics:
@@ -62,25 +62,31 @@ html/index.html: $(MAIN) Makefile.am
cp -r C/figures html/
cp -r C/icons html/
-rm -rf html/*/.svn
- cp $(HTML_STYLESHEET) html/
$(XSLTPROC) \
- --param toc.section.depth 1 \
- --stringparam html.stylesheet "$(HTML_STYLESHEET)" \
- --stringparam admon.graphics 1 \
- --stringparam admon.graphics.path "icons/" \
- --stringparam admon.graphics.extension ".png" \
- --stringparam chunker.output.indent yes \
- --stringparam chunker.output.encoding UTF-8 \
- --stringparam navig.graphics yes \
- --stringparam navig.graphics.extension ".png" \
- --stringparam navig.graphics.path "icons/" \
- --stringparam toc.list.type "ul" \
- --stringparam use.id.as.filename "1" \
- --stringparam refentry.generate.name "0" \
- --stringparam refentry.generate.title "1" \
- -o html/ --xinclude --catalogs $(DOCBOOK_STYLESHEET) \
+ --param db.chunk.chunk_top 1 \
+ --stringparam theme.icon.admon.path "icons/" \
+ -o html/ --nonet --xinclude \
+ $(DOCBOOK_STYLESHEET) \
$<
+# $(XSLTPROC) \
+# --param toc.section.depth 1 \
+# --stringparam html.stylesheet "$(HTML_STYLESHEET)" \
+# --stringparam admon.graphics 1 \
+# --stringparam admon.graphics.path "icons/" \
+# --stringparam admon.graphics.extension ".png" \
+# --stringparam chunker.output.indent yes \
+# --stringparam chunker.output.encoding UTF-8 \
+# --stringparam navig.graphics yes \
+# --stringparam navig.graphics.extension ".png" \
+# --stringparam navig.graphics.path "icons/" \
+# --stringparam toc.list.type "ul" \
+# --stringparam use.id.as.filename "1" \
+# --stringparam refentry.generate.name "0" \
+# --stringparam refentry.generate.title "1" \
+# -o html/ --xinclude --catalogs $(DOCBOOK_STYLESHEET) \
+# $<
+
html: html/index.html
# We have to generate the pdf in a subdirectory (e.g. pdf/) because the tutorial
--
1.5.6.5
More information about the telepathy-commits
mailing list