diff options
| author | Adam Vandenberg | 2011-01-20 20:38:53 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-01-20 20:43:41 -0800 |
| commit | c4c7d6f0df9c290ffc35f454e43c20d96a493dd0 (patch) | |
| tree | fb266652374491b284d32dc19a3342b573bc8410 /Library/Formula | |
| parent | 657afefb07622a086968e5f04fd593a39f020713 (diff) | |
| download | homebrew-c4c7d6f0df9c290ffc35f454e43c20d96a493dd0.tar.bz2 | |
bzr - Fix building manpage
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bazaar.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/bazaar.rb b/Library/Formula/bazaar.rb index 8e792c533..d36c9145d 100644 --- a/Library/Formula/bazaar.rb +++ b/Library/Formula/bazaar.rb @@ -10,6 +10,12 @@ class Bazaar <Formula end def install + ENV.j1 # Builds aren't parallel-safe + + # Make and install man page first + system "make man1/bzr.1" + man1.install "man1/bzr.1" + if ARGV.include? "--system" ENV.prepend "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin", ":" else @@ -29,10 +35,6 @@ EOS archs = archs_for_command("python") ENV.minimal_optimization if archs.include? :ppc64 or archs.include? :ppc7400 - # Make the manual before we install (mv) bzrlib - system "make man1/bzr.1" - man1.install gzip('man1/bzr.1') - system "make" inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python" if ARGV.include? "--system" libexec.install ['bzr', 'bzrlib'] |
