diff options
author | wm4 <wm4@nowhere> | 2014-10-11 16:16:02 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-10-12 12:42:59 +0200 |
commit | 58b511d947d917db899998632c1e66c6488d43d2 (patch) | |
tree | c612997391b3d7176f5f0d7bd6e79b038a174150 /wscript_build.py | |
parent | 9b8b2933f337b5b3caff8aa5aae8e7754c449dea (diff) | |
download | mpv-58b511d947d917db899998632c1e66c6488d43d2.tar.bz2 mpv-58b511d947d917db899998632c1e66c6488d43d2.tar.xz |
build: install input config files into doc dir
Users using binary packages don't have obvious access to them, so this
seems like a good idea.
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index c8dc6a42f1..87e24a0076 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -447,6 +447,11 @@ def build(ctx): install_path = ctx.env.BINDIR, **cprog_kwargs ) + for f in ['example.conf', 'input.conf', 'mplayer-input.conf', \ + 'restore-old-bindings.conf']: + import os + ctx.install_as(os.path.join(ctx.env.DOCDIR, f), + os.path.join('etc/', f)) build_shared = ctx.dependency_satisfied('libmpv-shared') build_static = ctx.dependency_satisfied('libmpv-static') |