summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/wscript b/wscript
index 143a88a94e..e6e70c23ed 100644
--- a/wscript
+++ b/wscript
@@ -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: