WHATSNEW: Start WHATSNEW for 3.3.0pre1.
[Samba.git] / release-scripts / build-docs
blob529a1c07f18808375ffd802a9c3c15bc37251c3c
1 #!/bin/sh
3 DOCSRCDIR=`dirname $0`/../docs-xml
5 cd $DOCSRCDIR || exit 1
7 git-clean -d -x -f
8 autoconf && ./configure --with-papersize=letter && make release
10 if [ $? != 0 ]; then
11 echo "Docs build failed!"
12 exit 1
15 mkdir ../docs
16 rsync -Ca --delete --exclude=.git output/ ../docs/
17 rsync -Ca --exclude=.svn registry ../docs/
18 rsync -Ca --exclude=.svn archives/ ../docs/
20 cd ../docs || exit 1
21 /bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
22 mv manpages-3 manpages
23 mv htmldocs/manpages-3 htmldocs/manpages
25 exit