Fix setup.py to remove the double '/' when building man pages
This was resulting in 'share/man//...' showing in the file list generated for system packages.
This commit is contained in:
parent
9a516b1058
commit
7851d3bdfb
4
setup.py
4
setup.py
@ -180,8 +180,8 @@ def build_man(build_cmd):
|
|||||||
filename = False
|
filename = False
|
||||||
|
|
||||||
lang = man_dir[8:]
|
lang = man_dir[8:]
|
||||||
src = build_cmd.build_base + '/data/man/' + lang + '/gramps.1.gz'
|
src = build_cmd.build_base + '/data/man' + lang + '/gramps.1.gz'
|
||||||
target = 'share/man/' + lang + '/man1'
|
target = 'share/man' + lang + '/man1'
|
||||||
data_files.append((target, [src]))
|
data_files.append((target, [src]))
|
||||||
|
|
||||||
def build_intl(build_cmd):
|
def build_intl(build_cmd):
|
||||||
|
Loading…
Reference in New Issue
Block a user