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:
parent
76a8e57969
commit
3498cdf5d4
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue