aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-03 20:23:51 -0700
committerAdam Vandenberg2010-10-03 20:23:51 -0700
commit781a52d4ef41b4e61307ca1e9232c72db6e10ec0 (patch)
treedd69035f29373ff783490e598eef57ab88c06dc1
parentfc6f2c88fd080025f128f300c98ce4a66ed3365b (diff)
downloadhomebrew-781a52d4ef41b4e61307ca1e9232c72db6e10ec0.tar.bz2
add install check for top-level info
-rwxr-xr-xLibrary/Homebrew/install.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb
index c5793c453..6ea22a351 100755
--- a/Library/Homebrew/install.rb
+++ b/Library/Homebrew/install.rb
@@ -157,6 +157,13 @@ def install f
puts 'This can often be fixed by passing "--mandir=#{man}" to configure.'
end
+ # Check for info pages that aren't in share/info
+ if (f.prefix+'info').exist?
+ opoo 'A top-level "info" folder was found.'
+ puts "Homebrew suggests that info pages live under share."
+ puts 'This can often be fixed by passing "--infodir=#{info}" to configure.'
+ end
+
# Check for Jars in lib
if File.exist?(f.lib)
unless f.lib.children.select{|g| g.to_s =~ /\.jar$/}.empty?