summaryrefslogtreecommitdiff
path: root/source4/scripting/python/config.mk
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-22 10:53:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-22 10:53:14 +1100
commit11061499e182b9c41ec793d4eefb8a2cf7c88bfe (patch)
treefa08fcbf21143655eb85ba79c6169b3b2eb24fdd /source4/scripting/python/config.mk
parent27b3c24040b1a7aa88413c477a3769bcd6847d72 (diff)
parent24efc9fc36194d379838eb9911b65e93535da19b (diff)
downloadsamba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.tar.gz
samba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.tar.bz2
samba-11061499e182b9c41ec793d4eefb8a2cf7c88bfe.zip
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit 74220ca244865f97825cabdbc8aa899e71c25c7d)
Diffstat (limited to 'source4/scripting/python/config.mk')
-rw-r--r--source4/scripting/python/config.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index f00b477919..450da0e90a 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -16,7 +16,7 @@ PRIVATE_DEPENDENCIES = LIBNDR LIBLDB SAMDB CREDENTIALS
SWIG_FILE = misc.i
# Swig extensions
-swig: pythonmods
+swig:: pythonmods
.SUFFIXES: _wrap.c .i
@@ -28,13 +28,19 @@ realdistclean::
@-rm -f bin/python/*
# FIXME: Remove _wrap.c files
-pythonmods: $(PYTHON_DSOS)
+pythonmods:: $(PYTHON_DSOS) $(PYTHON_PYS)
PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py bin/python/security.py bin/python/events.py bin/python/net.py
pydoctor:: pythonmods
LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))
+installpython:: pythonmods
+ @$(SHELL) $(srcdir)/script/installpython.sh \
+ $(INSTALLPERMS) \
+ $(DESTDIR)$(PYTHONDIR) \
+ scripting/python bin/python
+
clean::
@echo "Removing python modules"
@rm -f bin/python/*