summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-16 16:48:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-16 16:48:36 +0100
commitdd2a52b7c7a15bbc6b3d607654792cf22aa5d072 (patch)
treef43a8188f3a09a246c0e871600dbf8cf95e7be38 /source4/build/smb_build
parent0af55cac0386a597e40f88fa205f6a8ab08f2aee (diff)
downloadsamba-dd2a52b7c7a15bbc6b3d607654792cf22aa5d072.tar.gz
samba-dd2a52b7c7a15bbc6b3d607654792cf22aa5d072.tar.bz2
samba-dd2a52b7c7a15bbc6b3d607654792cf22aa5d072.zip
Generate manpage list with make.
(This used to be commit 7eaa96169f0a32110194560ff27ed89120160efc)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index d2982c723b..fe15e4907e 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -21,7 +21,6 @@ sub new($$$)
bless($self, $myname);
- $self->{manpages} = [];
$self->{static_libs} = [];
$self->{python_dsos} = [];
$self->{python_pys} = [];
@@ -371,8 +370,7 @@ sub Manpage($$)
{
my ($self,$ctx) = @_;
- my $path = output::add_dir_str($ctx->{BASEDIR}, $ctx->{MANPAGE});
- push (@{$self->{manpages}}, $path);
+ $self->output("MANPAGES += " . output::add_dir_str($ctx->{BASEDIR}, $ctx->{MANPAGE}) . "\n");
}
sub ProtoHeader($$)
@@ -418,7 +416,6 @@ sub write($$)
{
my ($self, $file) = @_;
- $self->output("MANPAGES = " . array2oneperline($self->{manpages})."\n");
$self->output("STATIC_LIBS = " . array2oneperline($self->{static_libs}) . "\n");
$self->output("SHARED_LIBS = " . array2oneperline($self->{shared_libs}) . "\n");
$self->output("PYTHON_DSOS = " . array2oneperline($self->{python_dsos}) . "\n");