summaryrefslogtreecommitdiffstats
path: root/release-scripts
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2009-11-26 11:18:39 +0100
committerKarolin Seeger <kseeger@samba.org>2009-11-26 11:41:20 +0100
commite3bcc3ee957a61b2ce1c948f3337cc0f7d795e74 (patch)
tree44b31365d93e018d97df6c2c58044803eb9e02f8 /release-scripts
parent8b6b509825b0f403e2721643709a98978a6396ae (diff)
downloadsamba-e3bcc3ee957a61b2ce1c948f3337cc0f7d795e74.tar.gz
samba-e3bcc3ee957a61b2ce1c948f3337cc0f7d795e74.tar.xz
samba-e3bcc3ee957a61b2ce1c948f3337cc0f7d795e74.zip
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 (cherry picked from commit 77e2d2f1d29b69699f4539abfce7b2f32db843e4) (cherry picked from commit 62df932f9dc333f69bf901fe88bfac6fc4e59bcd)
Diffstat (limited to 'release-scripts')
-rwxr-xr-xrelease-scripts/create-tarball13
1 files changed, 13 insertions, 0 deletions
diff --git a/release-scripts/create-tarball b/release-scripts/create-tarball
index 5c9df90d8dc..26a72709313 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