aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/mkdocdeps.py
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2014-03-13 00:21:15 -0300
committerGravatar David Bremner <david@tethera.net>2014-03-18 07:39:12 -0300
commit533639b143202d333eb964aa0c6a860db0809344 (patch)
tree771c05b833893e782805a8e8b2e38c73c6b7e491 /doc/mkdocdeps.py
parent9d9a700f1de6352b4f51a00ab80f2fcd70da050d (diff)
doc: build man pages into hierarchy, fix help test.
It turns out there was a reason the old man pages were stored in a man compatible hierarchy, namely so that we could run man on them before installing. Hardcode doc build location into test suite. This isn't ideal, but let's unbreak the test suite for now.
Diffstat (limited to 'doc/mkdocdeps.py')
-rw-r--r--doc/mkdocdeps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mkdocdeps.py b/doc/mkdocdeps.py
index e61bea60..3effdd85 100644
--- a/doc/mkdocdeps.py
+++ b/doc/mkdocdeps.py
@@ -10,7 +10,7 @@ rst_files = []
out=open(outfile,'w')
for page in man_pages:
rst_files = rst_files + ["doc/{0:s}.rst".format(page[0])]
- roff_files = roff_files + ["{0:s}/man/{1:s}.{2:d}".format(builddir,page[1],page[4])]
+ roff_files = roff_files + ["{0:s}/man/{1:s}.{2:d}".format(builddir,page[0],page[4])]
out.write ('MAN_ROFF_FILES := ' + ' \\\n\t'.join(roff_files)+'\n')
out.write ('MAN_RST_FILES := ' + ' \\\n\t'.join(rst_files)+'\n')