[vlc-devel] [PATCH] Fix make install when configure with --disable-vlc

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Jul 22 16:49:53 CEST 2016


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
-- 
2.8.1



More information about the vlc-devel mailing list