diff options
author | wm4 <wm4@nowhere> | 2013-12-28 16:32:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-28 16:33:21 +0100 |
commit | fd4e3af740fc00804e3f1b932462b44f795b1095 (patch) | |
tree | c3dfbb67dc09e76a3126c693033194d3fd71834e /old-makefile | |
parent | a473739fbfcba5fded59eaa35342127728774490 (diff) | |
download | mpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.bz2 mpv-fd4e3af740fc00804e3f1b932462b44f795b1095.tar.xz |
Install encoding-profiles.conf by default
This is probably useful.
Note that this includes a small, stupid hack to prevent loading of the
config file if vf_lavfi is not available. The profile by default uses
vf_lavfi, and the config parser will output errors if vf_lavfi is not
available.
As another caveat, we install the example profile even if encoding is
disabled (though we don't load it, since this would print errors).
Diffstat (limited to 'old-makefile')
-rw-r--r-- | old-makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/old-makefile b/old-makefile index ac7fc98502..63e61bf683 100644 --- a/old-makefile +++ b/old-makefile @@ -517,7 +517,11 @@ install-mpv-desktop: etc/mpv.desktop $(INSTALL) -d $(prefix)/share/applications $(INSTALL) -m 644 etc/mpv.desktop $(prefix)/share/applications/ -install-data: install-mpv-icons install-mpv-desktop +install-mpv-config: etc/encoding-profiles.conf + $(INSTALL) -d $(CONFDIR) + $(INSTALL) -m 644 etc/encoding-profiles.conf $(CONFDIR) + +install-data: install-mpv-icons install-mpv-desktop install-mpv-config uninstall: $(RM) $(BINDIR)/mpv$(EXESUF) |