Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 29 lines (25 sloc) 1.013 kb
#!/usr/local/bin/bash
ROOTPATH=/usr/pfsense
CVSPATH=$ROOTPATH/cvsroot
CVSROOT=:ext:username@cvs.pfsense.com:/cvsroot
WWWPATH=$ROOTPATH/wwwroot
CSSFILE=pfsensedoc.css
# update from CVS
cd $CVSPATH && cvs -d $CVSROOT co doc
# build html files
/usr/local/bin/xsltproc \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--stringparam toc.max.depth 2 \
--stringparam html.stylesheet $CSSFILE \
--stringparam chunker.output.indent yes \
--stringparam base.dir $WWWPATH/docbook/ \
/usr/local/docbook-xsl-1.61.3/html/chunk.xsl \
$CVSPATH/docbook/book.xml
# copy files into place for www
cp $CVSPATH/docbook/$CSSFILE $WWWPATH/docbook
cp $CVSPATH/docbook/*.png $WWWPATH/docbook
cp $CVSPATH/docbook/*.html $WWWPATH/docbook
cp -R $CVSPATH/docbook/screens/* $WWWPATH/docbook/screens/
cp -R $CVSPATH/docbook/icons/* $WWWPATH/docbook/icons/
cp -R $CVSPATH/docbook/networkdiagrams/* $WWWPATH/docbook/networkdiagrams/
Jump to Line
Something went wrong with that request. Please try again.