[vlc-commits] Fix make install when configured with --disable-vlc

Hugo Beauzée-Luyssen git at videolan.org
Tue Jul 26 18:34:30 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jul 22 16:48:07 2016 +0200| [27bcdc69fe4af903308b12fdea96a677c616635f] | committer: Hugo Beauzée-Luyssen

Fix make install when configured with --disable-vlc

vlc-cache-gen isn't build, so it fails to execute, making the install
rule fail.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27bcdc69fe4af903308b12fdea96a677c616635f
---

 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 6172d22..a4e587f 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
 ###############################################################################
@@ -987,6 +988,7 @@ install-exec-hook:
 	else \
 		echo "Cross-compilation: cache generation skipped!" ; \
 	fi
+endif
 
 uninstall-hook:
 	rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"



More information about the vlc-commits mailing list