summaryrefslogtreecommitdiff
path: root/source4/scripting/python/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 16:15:21 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-29 13:42:59 +0100
commit09447777d0c1a00daced1c63c3614136acfbe53f (patch)
treea83cc9448cef122b3ecdbadd71ae3af6fc5a7fe9 /source4/scripting/python/config.mk
parentde4a2214efb3fcc1aa04664371983dbc768eaf79 (diff)
downloadsamba-09447777d0c1a00daced1c63c3614136acfbe53f.tar.gz
samba-09447777d0c1a00daced1c63c3614136acfbe53f.tar.bz2
samba-09447777d0c1a00daced1c63c3614136acfbe53f.zip
use gmake to handle .py file copies.
(This used to be commit d54421a9eeadbd76791917c5e3c460c897259ede)
Diffstat (limited to 'source4/scripting/python/config.mk')
-rw-r--r--source4/scripting/python/config.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 0d47c8c542..b68abdba5e 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -35,6 +35,10 @@ PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.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) \