From 80ae0e6d95aa67be0648af9318fad0d849898dc9 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 3 Oct 2010 20:23:51 -0700 Subject: [PATCH] add install check for top-level info --- Library/Homebrew/install.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index c5793c4533..6ea22a351c 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?