build-docs: Use 'git clean' instead of 'git-clean'.
[samba.git] / release-scripts / build-docs
index 529a1c07f18808375ffd802a9c3c15bc37251c3c..357b4e9847f84447827140bd0775c5c763b51d28 100755 (executable)
@@ -4,8 +4,11 @@ DOCSRCDIR=`dirname $0`/../docs-xml
 
 cd $DOCSRCDIR || exit 1
 
-git-clean -d -x -f
-autoconf && ./configure --with-papersize=letter && make release
+git clean -d -x -f
+autoconf && \
+       ./configure --with-papersize=letter && \
+       make smbdotconf/parameters.all.xml && \
+       make release
 
 if [ $? != 0 ]; then
         echo "Docs build failed!"
@@ -22,4 +25,7 @@ cd ../docs || exit 1
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
-exit
\ No newline at end of file
+cd $DOCSRCDIR || exit 1
+make clean
+
+exit