10 DOCSRCDIR
=$
(dirname $0)/..
/docs-xml
12 pushd $DOCSRCDIR ||
exit 1
15 export XML_CATALOG_FILES
="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
17 .
/configure
--with-papersize=letter
&&
18 make smbdotconf
/parameters.all.xml
&&
22 _exit
"Docs build failed!"
26 rsync
-Ca --delete --exclude=.git output
/ ..
/docs
/
27 rsync
-Ca --exclude=.svn registry ..
/docs
/
28 rsync
-Ca --exclude=.svn archives
/ ..
/docs
/
30 cd ..
/docs || _exit
"Error changing dir to ${DOCSDIR}/../docs/"
32 /bin
/rm -rf test.pdf Samba4
*pdf htmldocs
/Samba4
* htmldocs
/test
34 cd ..
/docs-xml || _exit
"Error changing dir to ${DOCSDIR}/../docs-xml/"