aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-01-20 04:28:17 +0000
committerlloyd <[email protected]>2007-01-20 04:28:17 +0000
commitafa7757881b4eef6421bdb8ae12ff553b5148e04 (patch)
tree57719f1c9e30b9ca98e8c42b245ada285f38ec54 /configure.pl
parente6029e47754526c0cf03164d6ff9b30819e1ab2b (diff)
Only attempt to install files from doc/ that are known to exist.
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.pl b/configure.pl
index d7157d845..33399ba90 100755
--- a/configure.pl
+++ b/configure.pl
@@ -1492,8 +1492,13 @@ sub generate_makefile {
'install_group' => os_info_for($os, 'install_group'),
});
+ my $is_in_doc_dir =
+ sub { -e File::Spec->catfile($$config{'doc-dir'}, $_[0]) };
+
my $docs = file_list(undef, undef, undef,
- map_to($$config{'doc-dir'}, @DOCS));
+ map_to($$config{'doc-dir'},
+ grep { &$is_in_doc_dir($_); } @DOCS));
+
$docs .= File::Spec->catfile($$config{'base-dir'}, 'readme.txt');
my $includes = file_list(undef, undef, undef,