9 DOCSRCDIR=`dirname $0`/../docs-xml
11 pushd $DOCSRCDIR || exit 1
14 export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
16 ./configure --with-papersize=letter && \
17 make smbdotconf/parameters.all.xml && \
21 _exit "Docs build failed!"
25 rsync -Ca --delete --exclude=.git output/ ../docs/
26 rsync -Ca --exclude=.svn registry ../docs/
27 rsync -Ca --exclude=.svn archives/ ../docs/
29 cd ../docs || _exit "Error changing dir to ${DOCSDIR}/../docs/"
31 /bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
33 cd ../docs-xml || _exit "Error changing dir to ${DOCSDIR}/../docs-xml/"