mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-20 00:10:35 -05:00
Use name of command for "virtual man page" name
This makes it slightly easier to debug manpage issues without removing the virtmanpage hack.
This commit is contained in:
parent
f45acbb908
commit
559ec0062e
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -678,7 +678,7 @@ class build_man(Command):
|
|||
roles.register_local_role('issue', issue)
|
||||
# We give the source_path so that docutils can find relative includes
|
||||
# as-if the document where located in the docs/ directory.
|
||||
man_page = publish_string(source=rst, source_path='docs/virtmanpage.rst', writer=manpage.Writer())
|
||||
man_page = publish_string(source=rst, source_path='docs/%s.rst' % name, writer=manpage.Writer())
|
||||
with open('docs/man/%s.1' % name, 'wb') as fd:
|
||||
fd.write(man_page)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue