From c2fe43361f876c681a6ab553705fec6d62323c22 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Wed, 8 Jan 2014 16:00:40 +0100 Subject: Switch PDF manual generation to rst2pdf This finally gets rid of the LaTeX dependency. We should actually be using docultils directly here, but I didn't do this because of all the potential Python 2/3 breakage. --- wscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wscript') 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: -- cgit v1.2.3