[vlc-devel] [PATCH] Fix make install when configure with --disable-vlc
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Fri Jul 22 16:55:17 CEST 2016
On 07/22/2016 04:49 PM, Hugo Beauzée-Luyssen wrote:
> vlc-cache-gen isn't build, so it fails to execute, making the install
> rule fail.
> ---
> Makefile.am | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Makefile.am b/Makefile.am
> index 6172d22..70d505a 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -975,6 +975,7 @@ endif
> TESTS = test/run_vlc.sh
> dist_noinst_SCRIPTS += test/run_vlc.sh
>
> +if BUILD_VLC
> ###############################################################################
> # Installing plugins cache
> ###############################################################################
> @@ -990,6 +991,7 @@ install-exec-hook:
>
> uninstall-hook:
> rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"
> +endif
>
> ###############################################################################
> # Test coverage
>
On a second though, the uninstall-hook probably should stay there, I'm
not entirely sure what's the expected behavior regarding to plugin cache
when using libvlc through an application.
In any case, opinions welcome
More information about the vlc-devel
mailing list