diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 16:02:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-26 16:02:51 +0100 |
commit | ef15b28d244dcaaa38a07055c3a88f6199173611 (patch) | |
tree | 5cbb8a18e04a192993e9b41b5b138ee4a1aaa1f9 /source4/scripting | |
parent | bfc99f15a1e2407cd5aaa938b97ddaa547660cfc (diff) | |
download | samba-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')
-rw-r--r-- | source4/scripting/python/config.mk | 27 |
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/* |