Skip to content

Commit

Permalink
create-tarball: Make it more comfortable to use the --copy-docs option.
Browse files Browse the repository at this point in the history
Now you can directly specify the 'make release' output dir without any
modifications.

Karolin
  • Loading branch information
kseeger committed Nov 26, 2009
1 parent 9755337 commit 77e2d2f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions release-scripts/create-tarball
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 77e2d2f

Please sign in to comment.