summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-07-09 15:33:26 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-07-09 15:33:26 +1000
commit81bc53cd3f49423afe9e7e2e4466607e978d2177 (patch)
treecb11b31e3b59100fb21d025784494a2239dc17f7 /lang
parentbc32645c8fa7b68b83af49b14c2c8bc3419c959e (diff)
downloadmongo-81bc53cd3f49423afe9e7e2e4466607e978d2177.tar.gz
Install the Python module as part of "make install".
Diffstat (limited to 'lang')
-rw-r--r--lang/python/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index ef45e8d7a0d..6ddf48cd201 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -12,7 +12,11 @@ $(PYSRC)/wiredtiger_wrap.c: $(top_srcdir)/src/include/wiredtiger.in $(PYSRC)/wir
_wiredtiger.so: $(top_builddir)/libwiredtiger.la $(PYSRC)/wiredtiger_wrap.c
$(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f $(PY_SETUP_DEBUG)
-TESTS = run-ex_access
+install-exec-local:
+ $(PYTHON) $(PYSRC)/setup.py install_lib -b . --skip-build
clean-local:
- rm -rf WT_TEST
+ $(PYTHON) $(PYSRC)/setup.py clean
+ rm -rf _wiredtiger.so WT_TEST
+
+TESTS = run-ex_access