]> git.sesse.net Git - vlc/blobdiff - modules/Makefile.am
OSS: improve plugin name
[vlc] / modules / Makefile.am
index 5b4aec4d55de5c8e71c150217719a43c58d56d2d..530d0a199a752042884d1bce1bf1d2e5f5e75cec 100644 (file)
@@ -10,6 +10,7 @@ BASE_SUBDIRS = \
        gui \
        meta_engine \
        misc \
+       media_library \
        packetizer \
        services_discovery \
        stream_filter \
@@ -27,6 +28,7 @@ EXTRA_SUBDIRS = \
        3dnow \
        altivec \
        arm_neon \
+       lua \
        $(NULL)
 
 SUBDIRS = $(BASE_SUBDIRS)
@@ -52,12 +54,14 @@ endif
 if HAVE_ARM_NEON
 SUBDIRS += arm_neon
 endif
+if BUILD_LUA
+SUBDIRS += lua
+endif
 SUBDIRS += .
 
 dist_noinst_SCRIPTS = genmf list.sh
 dist_noinst_DATA = LIST
-noinst_DATA = stamp-cache
-MOSTLYCLEANFILES = stamp-cache plugins-*-*.dat
+MOSTLYCLEANFILES = plugins-*-*.dat
 
 .PHONY: stamp-cache
 
@@ -67,11 +71,10 @@ stamp-cache:
        else \
                echo "Cross-compilation: cache generation skipped!" ; \
        fi
-       $(AM_V_at)touch stamp-cache
 
 install-exec-hook:
-       if test -z "$(DESTDIR)"; then \
-               ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)" ; \
+       if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
+               ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \
        else \
                echo "Staged installation: cache generation skipped!" ; \
        fi