From f5e175647515b5e34c265dadad524e83c695cc93 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Jun 2014 23:01:12 +0200 Subject: DOCS: remove en/ sub-directory This additional sub-directory doesn't serve any purpose anymore. Get rid of it. --- wscript_build.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'wscript_build.py') 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) -- cgit v1.2.3