diff options
| author | Matt Wildig | 2011-02-16 00:15:44 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-01 15:49:55 -0700 |
| commit | ee490cc7dc50cf9c16b067520bad8673c9e62de8 (patch) | |
| tree | f4c8f19306da7404e28e20bdc3fbcbb674c5b152 /Library/Formula/postgresql.rb | |
| parent | 23116083c8723de3d57f4d26ea9f382036ad52dd (diff) | |
| download | homebrew-ee490cc7dc50cf9c16b067520bad8673c9e62de8.tar.bz2 | |
Tidy up postgresql share/ and include docs
Files go into share/postgresql and docs into share/docs/postgresql
instead of directly into share and share/docs.
Also include docs (man & html) which weren't being included in install
step of build (see
http://archives.postgresql.org/pgsql-bugs/2010-10/msg00156.php).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/postgresql.rb')
| -rw-r--r-- | Library/Formula/postgresql.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 590d88dd5..50d4ebb94 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -35,6 +35,10 @@ class Postgresql < Formula args << "--with-perl" unless ARGV.include? '--no-perl' args << "--with-ossp-uuid" + + args << "--datadir=#{share}/#{name}" + args << "--docdir=#{doc}" + ENV.append 'CFLAGS', `uuid-config --cflags`.strip ENV.append 'LDFLAGS', `uuid-config --ldflags`.strip ENV.append 'LIBS', `uuid-config --libs`.strip @@ -49,6 +53,7 @@ class Postgresql < Formula system "./configure", *args system "make install" + system "make install-docs" contrib_directories = Dir.glob("contrib/*").select{ |path| File.directory?(path) } - ['contrib/start-scripts'] |
