[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha2-1132-gd54421a
Jelmer Vernooij
jelmer at samba.org
Fri Feb 29 12:43:17 GMT 2008
The branch, v4-0-test has been updated
via d54421a9eeadbd76791917c5e3c460c897259ede (commit)
from 0aff54a12e20d5e91fcdec7aaec103fb9a371a23 (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit d54421a9eeadbd76791917c5e3c460c897259ede
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Feb 16 16:15:21 2008 +0100
use gmake to handle .py file copies.
-----------------------------------------------------------------------
Summary of changes:
source/build/smb_build/makefile.pm | 4 +---
source/scripting/python/config.mk | 4 ++++
2 files changed, 5 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/build/smb_build/makefile.pm b/source/build/smb_build/makefile.pm
index 29da771..fa2d788 100644
--- a/source/build/smb_build/makefile.pm
+++ b/source/build/smb_build/makefile.pm
@@ -341,9 +341,7 @@ sub PythonFiles($$)
foreach (@{$ctx->{PYTHON_FILES}}) {
my $target = "bin/python/".basename($_);
my $source = output::add_dir_str($ctx->{BASEDIR}, $_);
- $self->output("$target: $source\n" .
- "\tmkdir -p \$(builddir)/bin/python\n" .
- "\tcp $source \$@\n\n");
+ $self->output("$target: $source\n\n");
push (@{$self->{python_pys}}, $target);
}
}
diff --git a/source/scripting/python/config.mk b/source/scripting/python/config.mk
index 0d47c8c..b68abdb 100644
--- a/source/scripting/python/config.mk
+++ b/source/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) \
--
Samba Shared Repository
More information about the samba-cvs
mailing list