]> git.sesse.net Git - vlc/blobdiff - modules/Makefile.am
Qt: allow to select inexistent files from Prefs
[vlc] / modules / Makefile.am
index bb5cf0fe5cf8df06f0c1938aa35ab529ca38cd6a..39abdbc73419b5b15e650935608fd24d723c3103 100644 (file)
@@ -70,8 +70,8 @@ stamp-cache:
        $(AM_V_at)touch stamp-cache
 
 install-exec-hook:
-       if test -z "$(DESTDIR)"; then \
-               cd "$(vlclibdir)" && ./vlc-cache-gen . ; \
+       if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
+               ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \
        else \
                echo "Staged installation: cache generation skipped!" ; \
        fi