Fix man page install location.

This commit is contained in:
Chris PeBenito 2016-02-22 08:12:19 -05:00
parent 1bd80d6356
commit f0cdd68afc

View File

@ -142,7 +142,7 @@ setup(name='setools',
'build_ext': BuildExtCommand},
packages=['setools', 'setools.diff', 'setools.policyrep', 'setoolsgui', 'setoolsgui.apol'],
scripts=['apol', 'sediff', 'seinfo', 'seinfoflow', 'sesearch', 'sedta'],
data_files=[(join(sys.prefix, 'man/man1'), glob.glob("man/*.1") ),
data_files=[(join(sys.prefix, 'share/man/man1'), glob.glob("man/*.1") ),
(join(sys.prefix, 'share/setools'), glob.glob("data/*.ui") + ["data/perm_map"] ),
(join(sys.prefix, 'share/setools/icons'), glob.glob("data/icons/*.png"))],
ext_modules=ext_py_mods,