summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2014-01-08 16:00:40 +0100
committerMartin Herkt <lachs0r@srsfckn.biz>2014-01-08 16:00:40 +0100
commitc2fe43361f876c681a6ab553705fec6d62323c22 (patch)
treeb6880bb0f1facc62ccf1b384aadbc7ef6827eba3 /wscript
parent49646f10f054863b17fcc203025fa65608b1ce94 (diff)
downloadmpv-c2fe43361f876c681a6ab553705fec6d62323c22.tar.bz2
mpv-c2fe43361f876c681a6ab553705fec6d62323c22.tar.xz
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.
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: