diff options
author | Chris Mayo <aklhfex@gmail.com> | 2015-12-29 19:57:09 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-01-05 11:24:08 +0100 |
commit | d0cd7fa31b1812c273f938cb4fd5ecf7fc9eec79 (patch) | |
tree | 9ff7f8cf13d72fbc7a3255c90a100463064d1c3d /wscript | |
parent | a655432bbe2ff7e22005220b3897a0a75e14f2ef (diff) | |
download | mpv-d0cd7fa31b1812c273f938cb4fd5ecf7fc9eec79.tar.bz2 mpv-d0cd7fa31b1812c273f938cb4fd5ecf7fc9eec79.tar.xz |
build: add option of html manual
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -55,6 +55,11 @@ build_options = [ 'desc': 'manpage generation', 'func': check_ctx_vars('RST2MAN') }, { + 'name': '--html-build', + 'desc': 'html manual generation', + 'func': check_ctx_vars('RST2HTML'), + 'default': 'disable', + }, { 'name': '--pdf-build', 'desc': 'pdf manual generation', 'func': check_ctx_vars('RST2PDF'), @@ -924,6 +929,7 @@ def configure(ctx): ctx.find_program(pkg_config, var='PKG_CONFIG') ctx.find_program(ar, var='AR') ctx.find_program('perl', var='BIN_PERL') + ctx.find_program('rst2html', var='RST2HTML', mandatory=False) ctx.find_program('rst2man', var='RST2MAN', mandatory=False) ctx.find_program('rst2pdf', var='RST2PDF', mandatory=False) ctx.find_program(windres, var='WINDRES', mandatory=False) |