S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'.
[Samba.git] / release-scripts / build-docs
blobb80a7fb6f3e16301e892bd48e855b77d5b501ca2
1 #!/bin/sh
3 DOCSRCDIR=`dirname $0`/../docs-xml
5 cd $DOCSRCDIR || exit 1
7 git clean -d -x -f
8 autoconf && \
9 ./configure --with-papersize=letter && \
10 make smbdotconf/parameters.all.xml && \
11 make release
13 if [ $? != 0 ]; then
14 echo "Docs build failed!"
15 exit 1
18 mkdir ../docs
19 rsync -Ca --delete --exclude=.git output/ ../docs/
20 rsync -Ca --exclude=.svn registry ../docs/
21 rsync -Ca --exclude=.svn archives/ ../docs/
23 cd ../docs || exit 1
24 /bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
25 mv manpages-3 manpages
26 mv htmldocs/manpages-3 htmldocs/manpages
28 cd ../docs-xml || exit 1
29 make clean
31 exit