X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=doc%2Fprerst2man.py;fp=doc%2Fprerst2man.py;h=459126454a335f24dab05d4ee2048b1f5a0ec113;hb=4430b14106ce0d43c9f0387d442b50da370951e0;hp=720deb682d49beacad8883d86e358fd81d2bd51b;hpb=beef0a8f5593eee0f84b2b0fa01017c1c9621659;p=notmuch 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]))