build_docs: Use 'make distclean' instead of 'make clean'.
[kai/samba-autobuild/.git] / release-scripts / build-docs
index 357b4e9847f84447827140bd0775c5c763b51d28..bde87f49bdac26afe69cf9b8d4b6e7260dcc281c 100755 (executable)
@@ -25,7 +25,7 @@ cd ../docs || exit 1
 mv manpages-3 manpages
 mv htmldocs/manpages-3 htmldocs/manpages
 
-cd $DOCSRCDIR || exit 1
-make clean
+cd ../docs-xml || exit 1
+make distclean
 
 exit