summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-11 23:51:59 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-11 23:51:59 +0100
commitecb987c97c98d7374a0e703c56f2a71f8514ece8 (patch)
tree39f64d43110d029641cc65a17f808019ddf7bd49 /source4/lib/ldb/ldb.mk
parent3e3946cdca362b8abdff53245c004f37a5011474 (diff)
downloadsamba-ecb987c97c98d7374a0e703c56f2a71f8514ece8.tar.gz
samba-ecb987c97c98d7374a0e703c56f2a71f8514ece8.tar.bz2
samba-ecb987c97c98d7374a0e703c56f2a71f8514ece8.zip
Fix out of tree builds.
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
Diffstat (limited to 'source4/lib/ldb/ldb.mk')
-rw-r--r--source4/lib/ldb/ldb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/ldb.mk b/source4/lib/ldb/ldb.mk
index 20913314b4..b9aa24b276 100644
--- a/source4/lib/ldb/ldb.mk
+++ b/source4/lib/ldb/ldb.mk
@@ -66,10 +66,10 @@ examples/ldifreader: examples/ldifreader.o $(LIBS)
# Python bindings
build-python:: lib/libldb.$(SHLIBEXT) ldb_wrap.c
- ./setup.py build
+ $(ldbdir)/setup.py build
install-python:: build-python
- ./setup.py install --prefix=$(DESTDIR)$(prefix)
+ $(ldbdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
install-swig::
cp ldb.i `$(SWIG) -swiglib`
@@ -79,4 +79,4 @@ check-python:: build-python
LD_LIBRARY_PATH=lib PYTHONPATH=.:build/lib.linux-i686-2.4/ trial tests/python/api.py
clean-python::
- ./setup.py clean
+ $(ldbdir)/setup.py clean