Add manpage installation step to installer
This commit is contained in:
parent
c7a25662de
commit
2b7b787d56
4
setup.py
4
setup.py
@ -62,7 +62,7 @@ if 'install' in sys.argv:
|
|||||||
# Install man pages the crappy hacky way, because setuptools doesn't
|
# Install man pages the crappy hacky way, because setuptools doesn't
|
||||||
# have any facility to do it.
|
# have any facility to do it.
|
||||||
man_path = '/usr/local/share/man/1'
|
man_path = '/usr/local/share/man/1'
|
||||||
man_pages = filter(lambda x: os.path.isfile('./doc/troff/'+x,
|
man_pages = filter(lambda x: os.path.isfile('./doc/troff/'+x),
|
||||||
os.listdir('./doc/troff')
|
os.listdir('./doc/troff'))
|
||||||
for page in man_pages:
|
for page in man_pages:
|
||||||
shutil.copyfile('./doc/troff/'+page, man_path)
|
shutil.copyfile('./doc/troff/'+page, man_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user