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:
Ben Woods 2016-02-07 14:19:24 +01:00 committed by Nick Hall
parent 9a516b1058
commit 7851d3bdfb

View File

@ -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):