summaryrefslogtreecommitdiffstats
path: root/ctdb/packaging
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-10-22 15:55:33 +1100
committerAmitay Isaacs <amitay@gmail.com>2012-10-22 18:15:17 +1100
commit68b32e53ceae2d1fc088d2d15e098a70d31e1014 (patch)
treeb7ba9c9a47483f66794c249a454fd9ca84072ae5 /ctdb/packaging
parent43b25d1948718e2c0328e726ee0bec49d2739fa7 (diff)
downloadsamba-68b32e53ceae2d1fc088d2d15e098a70d31e1014.tar.gz
samba-68b32e53ceae2d1fc088d2d15e098a70d31e1014.tar.xz
samba-68b32e53ceae2d1fc088d2d15e098a70d31e1014.zip
packaging: Build docs and include them in tarball
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 69f0473b72aadab5bd5791ccff2facd0cd469d43)
Diffstat (limited to 'ctdb/packaging')
-rwxr-xr-xctdb/packaging/maketarball.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/ctdb/packaging/maketarball.sh b/ctdb/packaging/maketarball.sh
index 137f4d2a7e8..5843bd97961 100755
--- a/ctdb/packaging/maketarball.sh
+++ b/ctdb/packaging/maketarball.sh
@@ -76,12 +76,19 @@ TAR_BASE="ctdb-${VERSION}"
pushd /tmp/${TAR_PREFIX_TMP}
./autogen.sh
RC=$?
-popd
if [ $RC -ne 0 ]; then
echo "Error calling autogen.sh."
exit 1
fi
+make -C doc
+RC=$?
+if [ $RC -ne 0 ]; then
+ echo "Error building docs."
+ exit 1
+fi
+popd
+
if test "x${DEBIAN_MODE}" = "xyes" ; then
TAR_PREFIX="ctdb-${VERSION}.orig"
TAR_BASE="ctdb_${VERSION}.orig"