]> git.sesse.net Git - vlc/blobdiff - modules/Makefile.am
jamendo: also get the artist along with the list of songs for one album.
[vlc] / modules / Makefile.am
index 5b4aec4d55de5c8e71c150217719a43c58d56d2d..39abdbc73419b5b15e650935608fd24d723c3103 100644 (file)
@@ -70,8 +70,8 @@ stamp-cache:
        $(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