diff --git a/lam/docs/manual-sources/make.sh b/lam/docs/manual-sources/make.sh index deb223a3..851cbd4c 100755 --- a/lam/docs/manual-sources/make.sh +++ b/lam/docs/manual-sources/make.sh @@ -6,8 +6,6 @@ # This script is run to create the LAM manual. -dir=`pwd` - rm -rf ../manual mkdir ../manual xsltproc -o ../manual/ --stringparam html.stylesheet.type text/css --stringparam html.stylesheet style.css /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl howto.xml @@ -17,32 +15,3 @@ cp images/*.jpg ../manual/images mkdir ../manual/resources cp resources/*.* ../manual/resources cp style.css ../manual - -rm -rf ../manual-onePage -mkdir ../manual-onePage -xsltproc -o ../manual-onePage/ --stringparam html.stylesheet.type text/css --stringparam html.stylesheet style.css /usr/share/xml/docbook/stylesheet/nwalsh/html/onechunk.xsl howto.xml -mkdir ../manual-onePage/images -cp images/*.png ../manual-onePage/images -cp images/*.jpg ../manual-onePage/images -mkdir ../manual-onePage/resources -cp resources/*.* ../manual-onePage/resources -cp style.css ../manual-onePage - -rm -rf ../manual-pdf -mkdir ../manual-pdf -xsltproc -o ../manual-pdf/out.fo --stringparam paper.type "A4" --stringparam generate.toc "book toc,title,table,figure" /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl howto.xml -mkdir ../manual-pdf/images -for img in `ls images/*.png`; do - convert -density 96 $img ../manual-pdf/$img -done -for img in `ls images/*.jpg`; do - convert -density 96 $img ../manual-pdf/$img -done -cp images/schema_*.png ../manual-pdf/images/ -mkdir ../manual-pdf/resources -cp resources/*.* ../manual-pdf/resources -cd ../manual-pdf -fop out.fo manual.pdf - - -cd $dir \ No newline at end of file diff --git a/lam/docs/manual-sources/makeOther.sh b/lam/docs/manual-sources/makeOther.sh new file mode 100755 index 00000000..194f8b59 --- /dev/null +++ b/lam/docs/manual-sources/makeOther.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# $Id: make.sh 5301 2014-03-10 18:46:28Z gruberroland $ +# +# Copyright (C) 2014 Roland Gruber +# This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) + +# This script is run to create the LAM manual. + +dir=`pwd` + +rm -rf ../manual-onePage +mkdir ../manual-onePage +xsltproc -o ../manual-onePage/ --stringparam html.stylesheet.type text/css --stringparam html.stylesheet style.css /usr/share/xml/docbook/stylesheet/nwalsh/html/onechunk.xsl howto.xml +mkdir ../manual-onePage/images +cp images/*.png ../manual-onePage/images +cp images/*.jpg ../manual-onePage/images +mkdir ../manual-onePage/resources +cp resources/*.* ../manual-onePage/resources +cp style.css ../manual-onePage + +rm -rf ../manual-pdf +mkdir ../manual-pdf +xsltproc -o ../manual-pdf/out.fo --stringparam paper.type "A4" --stringparam generate.toc "book toc,title,table,figure" /usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl howto.xml +mkdir ../manual-pdf/images +for img in `ls images/*.png`; do + convert -density 96 $img ../manual-pdf/$img +done +for img in `ls images/*.jpg`; do + convert -density 96 $img ../manual-pdf/$img +done +cp images/schema_*.png ../manual-pdf/images/ +mkdir ../manual-pdf/resources +cp resources/*.* ../manual-pdf/resources +cd ../manual-pdf +fop out.fo manual.pdf + + +cd $dir \ No newline at end of file