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.
This commit is contained in:
wm4 authored and Alessandro Ghedini committed 2014-10-12 12:42:59 +02:00
1 parent 9b8b2933f3
commit 58b511d947
1 file changed
+5
+5
View File
@@ -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')