1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

create-tarball: Make it more comfortable to use the --copy-docs option.

Now you can directly specify the 'make release' output dir without any
modifications.

Karolin
This commit is contained in:
Karolin Seeger 2009-11-26 11:18:39 +01:00
parent 97553373d1
commit 77e2d2f1d2

View File

@ -116,6 +116,19 @@ function buildDocs
rsync -av "${OPT_DOCSDIR}"/ docs/
exitOnError $? "Failed top copy docs from ${OPT_DOCSDIR}"
cd docs/
/bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
if [ -d manpages-3 ]; then
mv manpages-3 manpages
fi
if [ -d htmldocs/manpages-3 ]; then
mv htmldocs/manpages-3 htmldocs/manpages
fi
# Sync thanks, history and registry/ into the docs dir
rsync -Ca --exclude=.svn ../../$OPT_BRANCH/docs-xml/registry ../docs/
rsync -Ca --exclude=.svn ../../$OPT_BRANCH/docs-xml/archives/ ../docs/
cd ../
return 0
fi