aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/prerst2man.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/prerst2man.py b/doc/prerst2man.py
index 720deb68..45912645 100644
--- a/doc/prerst2man.py
+++ b/doc/prerst2man.py
@@ -59,4 +59,5 @@ for page in man_pages:
outfile.write("".join(lines))
outfile.close()
- os.system('set -x; rst2man {0} {1}'.format(filename, outdir + '/' + page[0] + '.' + str(page[4])))
+ os.system('set -x; rst2man {0} {1}/{2}.{3}'
+ .format(filename, outdir, page[0],page[4]))