summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-04 01:37:28 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:02 +0100
commit71ae20df2c7e346c4b115bbed7c579c881369fdb (patch)
treedf7454e8fb808b154b5ee7705b58e1bef558a10c /source4/lib/ldb/Makefile.in
parentb038240ac72fa34a132eb52bda28bbb80f82c29e (diff)
downloadsamba-71ae20df2c7e346c4b115bbed7c579c881369fdb.tar.gz
samba-71ae20df2c7e346c4b115bbed7c579c881369fdb.tar.bz2
samba-71ae20df2c7e346c4b115bbed7c579c881369fdb.zip
r26276: Install SWIG files if swig is present.
(This used to be commit dfd5b456f932268e2b1a82e2775037d356b9483e)
Diffstat (limited to 'source4/lib/ldb/Makefile.in')
-rw-r--r--source4/lib/ldb/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 23a89c98c6..26b77d7dc1 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -244,6 +244,9 @@ build-python: lib/libldb.$(SHLIBEXT) ldb_wrap.c ldb.py
install-python: build-python
./setup.py install --prefix=$(prefix)
+install-swig:
+ cp ldb.i `$(SWIG) -swiglib`
+
check-python: build-python
# FIXME: This isn't portable
LD_LIBRARY_PATH=lib PYTHONPATH=.:build/lib.linux-i686-2.4/ trial tests/python/api.py