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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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) \
|
||||
|
Reference in New Issue
Block a user