diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -31,8 +31,7 @@ build_options = [ }, { 'name': '--pdf-build', 'desc': 'pdf manual generation', - 'func': check_ctx_vars('RST2LATEX', 'PDFLATEX'), - 'default': 'disable' + 'func': check_ctx_vars('RST2PDF'), }, { 'name': 'libdl', 'desc': 'dynamic loader', @@ -786,8 +785,7 @@ def configure(ctx): ctx.find_program(pkg_config, var='PKG_CONFIG') ctx.find_program('perl', var='BIN_PERL') ctx.find_program('rst2man', var='RST2MAN', mandatory=False) - ctx.find_program('rst2latex', var='RST2LATEX', mandatory=False) - ctx.find_program('pdflatex', var='PDFLATEX', mandatory=False) + ctx.find_program('rst2pdf', var='RST2PDF', mandatory=False) ctx.find_program(windres, var='WINDRES', mandatory=False) for ident, _, _ in _INSTALL_DIRS_LIST: |