[Box Backup-dev] COMMIT r549 - box/trunk/documentation/boxbackup

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Mar 30 00:04:32 BST 2006


Author: per
Date: 2006-03-29 23:04:26 +0000 (Wed, 29 Mar 2006)
New Revision: 549

Added:
   box/trunk/documentation/boxbackup/Makefile
   box/trunk/documentation/boxbackup/bb-book.xsl
Log:
Added XSL customization layer, and Makefile.

The Makefile is pretty simple, and doesn't integrate into the full build.
At least not at this time.


Added: box/trunk/documentation/boxbackup/Makefile
===================================================================
--- box/trunk/documentation/boxbackup/Makefile	2006-03-25 09:11:46 UTC (rev 548)
+++ box/trunk/documentation/boxbackup/Makefile	2006-03-29 23:04:26 UTC (rev 549)
@@ -0,0 +1,36 @@
+
+
+# Process DocBook to HTML
+
+DBPROC=/usr/bin/xsltproc
+BOOKXSL=bb-book.xsl
+MANXSL=bb-man.xsl
+VPATH= adminguide
+.SUFFIXES: .html .xml
+
+all: adminguide instguide
+
+adminguide: adminguide/index.html
+
+adminguide/index.html: adminguide.xml
+	# docname=`echo $@ | sed -e 's/\/index.html//'`
+	$(DBPROC) -o adminguide/ $(BOOKXSL) adminguide.xml
+
+instguide: instguide/index.html
+
+instguide/index.html: instguide.xml
+	$(DBPROC) -o instguide/ $(BOOKXSL) instguide.xml
+
+dockit: instguide adminguide
+	tar zcf documentation-kit-0.10.tar.gz images/ instguide/ adminguide/
+
+clean:
+	rm -rf ./instguide/
+	rm -rf ./adminguide/
+	rm documentation-kit-0.10.tar.gz
+
+
+# %.html: %.xml
+# 	$(DBPROC) -o $@ $(BOOKXSL) $@.xml
+
+

Added: box/trunk/documentation/boxbackup/bb-book.xsl
===================================================================
--- box/trunk/documentation/boxbackup/bb-book.xsl	2006-03-25 09:11:46 UTC (rev 548)
+++ box/trunk/documentation/boxbackup/bb-book.xsl	2006-03-29 23:04:26 UTC (rev 549)
@@ -0,0 +1,17 @@
+<?xml version='1.0'?> 
+<xsl:stylesheet  
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/> 
+
+<xsl:param name="html.stylesheet" select="'bbdoc.css'"/>
+<xsl:param name="chunk.section.depth" select="'0'"/>
+<xsl:template name="user.header.navigation">
+<div id="header">
+<div id="logo">
+<img src="images/bblogo.png" alt="logo" height="65" width="331" border="0" vspace="5" align="middle" /> <img src="images/stepahead.png" alt="a step ahead in data security" width="182" height="11" hspace="10" vspace="20" border="0" align="middle" /></div>
+</div>
+</xsl:template>
+
+
+</xsl:stylesheet>




More information about the Boxbackup-dev mailing list