X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2FMakefile.am;h=6a1703fb0bf4e0bf170a60a2cad6918b4629cee4;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=52288cfed8a4adbfb0787f0de33759888ef73aef;hpb=e4aae87da2036d69088a9ad2490089e4d1689c58;p=vlc diff --git a/modules/Makefile.am b/modules/Makefile.am index 52288cfed8..6a1703fb0b 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -56,8 +56,7 @@ 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,10 +66,9 @@ stamp-cache: else \ echo "Cross-compilation: cache generation skipped!" ; \ fi - $(AM_V_at)touch stamp-cache install-exec-hook: - if test -z "$(DESTDIR)"; then \ + if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \ ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \ else \ echo "Staged installation: cache generation skipped!" ; \