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