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
else \
echo "Cross-compilation: cache generation skipped!" ; \
fi
- $(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