Junxiao Shi | 2219a05 | 2015-05-28 02:53:48 -0700 | [diff] [blame] | 1 | def build(bld): |
2 | if not bld.env['SPHINX_BUILD']: | ||||
3 | return | ||||
4 | bld(features='sphinx', | ||||
5 | builder='man', | ||||
6 | outdir='.', | ||||
7 | config='./conf.py', | ||||
8 | source=bld.path.ant_glob('*.rst'), | ||||
9 | install_path='${MANDIR}/', | ||||
10 | VERSION=bld.env['VERSION']) |