summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-20 23:01:12 +0200
committerwm4 <wm4@nowhere>2014-06-20 23:01:12 +0200
commitf5e175647515b5e34c265dadad524e83c695cc93 (patch)
tree3a8b79e8182dc53a5763d7bb37af0c5b283b8e82 /wscript_build.py
parent199e3b27630ae45cd396b8af4fbb5bcccf0e2456 (diff)
downloadmpv-f5e175647515b5e34c265dadad524e83c695cc93.tar.bz2
mpv-f5e175647515b5e34c265dadad524e83c695cc93.tar.xz
DOCS: remove en/ sub-directory
This additional sub-directory doesn't serve any purpose anymore. Get rid of it.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 88c836e278..4f7efdfbb9 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -5,18 +5,18 @@ def _add_rst_manual_dependencies(ctx):
options.rst ao.rst vo.rst af.rst vf.rst encode.rst
input.rst osc.rst lua.rst changes.rst""".split()
- manpage_sources = ['DOCS/man/en/'+x for x in manpage_sources_basenames]
+ manpage_sources = ['DOCS/man/'+x for x in manpage_sources_basenames]
for manpage_source in manpage_sources:
ctx.add_manual_dependency(
- ctx.path.find_node('DOCS/man/en/mpv.rst'),
+ ctx.path.find_node('DOCS/man/mpv.rst'),
ctx.path.find_node(manpage_source))
def _build_man(ctx):
ctx(
name = 'rst2man',
- target = 'DOCS/man/en/mpv.1',
- source = 'DOCS/man/en/mpv.rst',
+ target = 'DOCS/man/mpv.1',
+ source = 'DOCS/man/mpv.rst',
rule = '${RST2MAN} ${SRC} ${TGT}',
install_path = ctx.env.MANDIR + '/man1')
@@ -25,8 +25,8 @@ def _build_man(ctx):
def _build_pdf(ctx):
ctx(
name = 'rst2pdf',
- target = 'DOCS/man/en/mpv.pdf',
- source = 'DOCS/man/en/mpv.rst',
+ target = 'DOCS/man/mpv.pdf',
+ source = 'DOCS/man/mpv.rst',
rule = '${RST2PDF} -c --repeat-table-rows ${SRC} -o ${TGT}',
install_path = ctx.env.DOCDIR)