summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/tdb/Makefile.in')
-rw-r--r--source4/lib/tdb/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/tdb/Makefile.in b/source4/lib/tdb/Makefile.in
index 651fc654de..9abe5c2b88 100644
--- a/source4/lib/tdb/Makefile.in
+++ b/source4/lib/tdb/Makefile.in
@@ -21,6 +21,7 @@ SHLD_FLAGS = @SHLD_FLAGS@
PACKAGE_VERSION = @PACKAGE_VERSION@
PICFLAG = @PICFLAG@
SHLIBEXT = @SHLIBEXT@
+SWIG = @SWIG@
.PHONY: test
@@ -111,7 +112,10 @@ distclean: clean
realdistclean: distclean
rm -f configure include/config.h.in
-build-python: libtdb.$(SHLIBEXT)
+tdb_wrap.c tdb.py: tdb.i
+ $(SWIG) -python -keyword tdb.i
+
+build-python: libtdb.$(SHLIBEXT) tdb_wrap.c tdb.py
./setup.py build
install-python: