summaryrefslogtreecommitdiff
path: root/source4/scripting/python/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-26 16:02:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-26 16:02:51 +0100
commitef15b28d244dcaaa38a07055c3a88f6199173611 (patch)
tree5cbb8a18e04a192993e9b41b5b138ee4a1aaa1f9 /source4/scripting/python/config.mk
parentbfc99f15a1e2407cd5aaa938b97ddaa547660cfc (diff)
downloadsamba-ef15b28d244dcaaa38a07055c3a88f6199173611.tar.gz
samba-ef15b28d244dcaaa38a07055c3a88f6199173611.tar.bz2
samba-ef15b28d244dcaaa38a07055c3a88f6199173611.zip
use make macro for python.
(This used to be commit b0408abb08648c0155d8f5da5fb299b1acbc09b6)
Diffstat (limited to 'source4/scripting/python/config.mk')
-rw-r--r--source4/scripting/python/config.mk27
1 files changed, 0 insertions, 27 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 16cd301aad..cafbea6b6e 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -15,36 +15,9 @@ OBJ_FILES = uuidmodule.o
PRIVATE_DEPENDENCIES = LIBNDR LIBLDB SAMDB CREDENTIALS
SWIG_FILE = misc.i
-# Swig extensions
-swig:: pythonmods
-
-.SUFFIXES: _wrap.c .i
-
-.i_wrap.c:
- [ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $<
-
-realdistclean::
- @echo "Removing SWIG output files"
- @-rm -f bin/python/*
- # FIXME: Remove _wrap.c files
-
-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 --project-name=Samba --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))
-bin/python/%.py:
- mkdir -p $(@D)
- cp $< $@
-
-installpython:: pythonmods
- @$(SHELL) $(srcdir)/script/installpython.sh \
- $(INSTALLPERMS) \
- $(DESTDIR)$(PYTHONDIR) \
- scripting/python bin/python
-clean::
- @echo "Removing python modules"
- @rm -f bin/python/*