wscript (530B)
1 """Sphinx documentation wscript example 2 """ 3 4 5 def configure(cnf): 6 cnf.load('sphinx') 7 8 9 def build(bld): 10 # When multiple output format are given, the install_path_FMT can specify where to place a specific format, fallback is always on install_path 11 bld(features='sphinx', sphinx_source='src', sphinx_output_format=['html', 'info', 'man'], install_path_man='${DOCDIR}/man', install_path='${DOCDIR}') 12 13 # Old style syntax, with single format 14 # bld(features='sphinx', sphinx_source='src', sphinx_output_format='man')