From: Karolin Seeger Date: Thu, 26 Nov 2009 10:18:39 +0000 (+0100) Subject: create-tarball: Make it more comfortable to use the --copy-docs option. X-Git-Tag: samba-4.0.0alpha9~161 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=77e2d2f1d29b69699f4539abfce7b2f32db843e4;hp=97553373d182671a8da1553cc47465c664ae69f0 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 --- diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball index 05d77bc37a9..9e6b8fe0ff5 100755 --- a/release-scripts/create-tarball +++ b/release-scripts/create-tarball @@ -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