mirror of https://github.com/mpv-player/mpv
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:
parent
9b8b2933f3
commit
58b511d947
|
@ -447,6 +447,11 @@ def build(ctx):
|
||||||
install_path = ctx.env.BINDIR,
|
install_path = ctx.env.BINDIR,
|
||||||
**cprog_kwargs
|
**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_shared = ctx.dependency_satisfied('libmpv-shared')
|
||||||
build_static = ctx.dependency_satisfied('libmpv-static')
|
build_static = ctx.dependency_satisfied('libmpv-static')
|
||||||
|
|
Loading…
Reference in New Issue