summaryrefslogtreecommitdiff
path: root/dist/s_release
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-16 16:38:39 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-16 16:38:39 +1000
commita5b0fd47debd010c0a0e57fd4795af071e4381a7 (patch)
treee2eb206aaba7a3512ff04d7a04817162c51bbfd2 /dist/s_release
parent3f4762c0f8ff69d058719a9465d1b3c027d8b236 (diff)
downloadmongo-a5b0fd47debd010c0a0e57fd4795af071e4381a7.tar.gz
Don't require SWIG to build the Python API from a release.
Diffstat (limited to 'dist/s_release')
-rwxr-xr-xdist/s_release6
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/s_release b/dist/s_release
index c050e4c2ded..b197cf6c124 100755
--- a/dist/s_release
+++ b/dist/s_release
@@ -21,6 +21,12 @@ hg archive `sed -e '/^#/d' -e 's/^/--exclude ..\//' < s_release.list` "$DEST"
echo "Running 'dist/s_all' in the release tree"
(cd "$DEST/dist" && env WT_RELEASE_BUILD=yes sh s_all -A > /dev/null)
+echo "Running swig to generate the Python API"
+(cd "$DEST/build_posix" && \
+ ../configure --enable-python && \
+ (cd lang/python && make ../../../lang/python/wiredtiger_wrap.c) && \
+ make distclean)
+
echo "Packing release into $RELEASE_DIR/$PKG.tar.bz2"
(cd "$RELEASE_DIR" && tar cf - $PKG | bzip2 -9 > $PKG.tar.bz2)