summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb.mk
diff options
context:
space:
mode:
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