Add manpage installation step to installer

This commit is contained in:
Phil Bridges 2016-03-18 12:00:37 -05:00
parent c7a25662de
commit 2b7b787d56
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ if 'install' in sys.argv:
# Install man pages the crappy hacky way, because setuptools doesn't
# have any facility to do it.
man_path = '/usr/local/share/man/1'
man_pages = filter(lambda x: os.path.isfile('./doc/troff/'+x,
os.listdir('./doc/troff')
man_pages = filter(lambda x: os.path.isfile('./doc/troff/'+x),
os.listdir('./doc/troff'))
for page in man_pages:
shutil.copyfile('./doc/troff/'+page, man_path)