1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00

use gmake to handle .py file copies.

(This used to be commit d54421a9ee)
This commit is contained in:
Jelmer Vernooij
2008-02-16 16:15:21 +01:00
parent de4a2214ef
commit 09447777d0
2 changed files with 5 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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) \