mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
build: add --htmldir option
Defaults to docdir but makes it possible to install html documentation separately.
This commit is contained in:
parent
3fe5ff99c6
commit
f95cde60ff
1
wscript
1
wscript
@ -942,6 +942,7 @@ _INSTALL_DIRS_LIST = [
|
||||
('datadir', '${PREFIX}/share', 'data files'),
|
||||
('mandir', '${DATADIR}/man', 'man pages '),
|
||||
('docdir', '${DATADIR}/doc/mpv', 'documentation files'),
|
||||
('htmldir', '${DOCDIR}', 'html documentation files'),
|
||||
('zshdir', '${DATADIR}/zsh/site-functions', 'zsh completion functions'),
|
||||
|
||||
('confloaddir', '${CONFDIR}', 'configuration files load directory'),
|
||||
|
@ -19,7 +19,7 @@ def _build_html(ctx):
|
||||
target = 'DOCS/man/mpv.html',
|
||||
source = 'DOCS/man/mpv.rst',
|
||||
rule = '${RST2HTML} ${SRC} ${TGT}',
|
||||
install_path = ctx.env.DOCDIR)
|
||||
install_path = ctx.env.HTMLDIR)
|
||||
|
||||
_add_rst_manual_dependencies(ctx)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user