manpages: build manpages
This commit also imports manpages of ndnpeek and ndnpoke from
NFD:commit:6ee6e07e6f1c068f7658a616982ab785f3bd8b22.
refs #2816
Change-Id: Ibc7bbbbd063af0107fa5883baccc12c7789bcc72
diff --git a/manpages/wscript b/manpages/wscript
new file mode 100644
index 0000000..e1093a4
--- /dev/null
+++ b/manpages/wscript
@@ -0,0 +1,10 @@
+def build(bld):
+ if not bld.env['SPHINX_BUILD']:
+ return
+ bld(features='sphinx',
+ builder='man',
+ outdir='.',
+ config='./conf.py',
+ source=bld.path.ant_glob('*.rst'),
+ install_path='${MANDIR}/',
+ VERSION=bld.env['VERSION'])