Fix installation of man file by replacing the path hardcoded in setup.py.

Signed-off-by: David Höppner <0xffea@gmail.com>
This commit is contained in:
Erik Abele 2010-01-24 16:50:18 +01:00 committed by David Höppner
parent 76a8e57969
commit 3498cdf5d4

View file

@ -9,6 +9,7 @@ class Bazaar <Formula
def install def install
ENV.minimal_optimization ENV.minimal_optimization
inreplace 'setup.py', 'man/man1', 'share/man/man1'
system "python", "setup.py", "build" system "python", "setup.py", "build"
system "python", "setup.py", "install", "--prefix=#{prefix}" system "python", "setup.py", "install", "--prefix=#{prefix}"
end end