summaryrefslogtreecommitdiff
path: root/release-scripts/build-docs
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-10-02 14:53:38 +0300
committerAlexander Bokovoy <ab@samba.org>2012-10-02 16:21:23 +0200
commit4a21d2e7790f1c76cf0d0fcfb2f4a8ef13721532 (patch)
treeec44e33388887a698a8cc29b8968e915e94c7a2b /release-scripts/build-docs
parentdce8a8e284e544999d85aa7df3ef97c3701742b4 (diff)
downloadsamba-4a21d2e7790f1c76cf0d0fcfb2f4a8ef13721532.tar.gz
samba-4a21d2e7790f1c76cf0d0fcfb2f4a8ef13721532.tar.bz2
samba-4a21d2e7790f1c76cf0d0fcfb2f4a8ef13721532.zip
Fix release script to build full set of documentation
build-docs script was not setting XML catalog properly. In addition, some time ago pdf versions of images were introduced as generated dependencies in our books but svg -> pdf rule was not added, so building books never finished properly. Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Tue Oct 2 16:21:23 CEST 2012 on sn-devel-104
Diffstat (limited to 'release-scripts/build-docs')
-rwxr-xr-xrelease-scripts/build-docs3
1 files changed, 1 insertions, 2 deletions
diff --git a/release-scripts/build-docs b/release-scripts/build-docs
index 5da641ac69..e909e6e6c3 100755
--- a/release-scripts/build-docs
+++ b/release-scripts/build-docs
@@ -11,6 +11,7 @@ DOCSRCDIR=`dirname $0`/../docs-xml
pushd $DOCSRCDIR || exit 1
git clean -d -x -f
+export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
autoconf && \
./configure --with-papersize=letter && \
make smbdotconf/parameters.all.xml && \
@@ -28,8 +29,6 @@ rsync -Ca --exclude=.svn archives/ ../docs/
cd ../docs || _exit "Error changing dir to ${DOCSDIR}/../docs/"
/bin/rm -rf test.pdf Samba4*pdf htmldocs/Samba4* htmldocs/test
-mv manpages-3 manpages
-mv htmldocs/manpages-3 htmldocs/manpages
cd ../docs-xml || _exit "Error changing dir to ${DOCSDIR}/../docs-xml/"
make distclean