From d8d9a6ef040b6c3e7946e6ae2cba2b28234c8baf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 26 Feb 2008 15:11:47 +0100 Subject: Move manpage management out of the perl build system. (This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673) --- source4/build/smb_build/README.txt | 3 +-- source4/build/smb_build/config_mk.pm | 6 ------ source4/build/smb_build/main.pl | 1 - source4/build/smb_build/makefile.pm | 7 ------- 4 files changed, 1 insertion(+), 16 deletions(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/README.txt b/source4/build/smb_build/README.txt index 5974db998f..eac3905cce 100644 --- a/source4/build/smb_build/README.txt +++ b/source4/build/smb_build/README.txt @@ -1,6 +1,5 @@ The Samba Build System ----------------------- ----------------------- +====================== The build system basically has two main parts: the autoconf-generated shell scripts which check for availability of functions and libraries diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm index 4d8db8a04e..2f29516ba5 100644 --- a/source4/build/smb_build/config_mk.pm +++ b/source4/build/smb_build/config_mk.pm @@ -36,8 +36,6 @@ my $section_types = { "ENABLE" => "bool", - "MANPAGE" => "string", - "PUBLIC_PROTO_HEADER" => "string", "PRIVATE_PROTO_HEADER" => "string", @@ -62,7 +60,6 @@ my $section_types = { "OUTPUT_TYPE" => "list", - "MANPAGE" => "string", "PRIVATE_PROTO_HEADER" => "string", "CFLAGS" => "list" @@ -74,7 +71,6 @@ my $section_types = { "ENABLE" => "bool", - "MANPAGE" => "string", "INSTALLDIR" => "string", "PRIVATE_PROTO_HEADER" => "string", @@ -102,8 +98,6 @@ my $section_types = { "ENABLE" => "bool", - "MANPAGE" => "string", - "PUBLIC_HEADERS" => "list", "PUBLIC_PROTO_HEADER" => "string", diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index d2d3dc9c5c..b9e1037423 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -67,7 +67,6 @@ foreach my $key (values %$OUTPUT) { $key->{TYPE} eq "PYTHON") and grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}}); $mkenv->PythonFiles($key) if defined($key->{PYTHON_FILES}); - $mkenv->Manpage($key) if defined($key->{MANPAGE}); $mkenv->Header($key) if defined($key->{PUBLIC_HEADERS}); $mkenv->ProtoHeader($key) if defined($key->{PRIVATE_PROTO_HEADER}) or defined($key->{PUBLIC_PROTO_HEADER}); diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index a152bfc90f..005c6f7fe8 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -361,13 +361,6 @@ sub PythonFiles($$) } } -sub Manpage($$) -{ - my ($self,$ctx) = @_; - - $self->output("MANPAGES += " . output::add_dir_str($ctx->{BASEDIR}, $ctx->{MANPAGE}) . "\n"); -} - sub ProtoHeader($$) { my ($self,$ctx) = @_; -- cgit