X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2FMakefile.am;h=6a1703fb0bf4e0bf170a60a2cad6918b4629cee4;hb=d3f7f89d3fed1c174a3b7bb2a10c70b0ec149b40;hp=e533432bdc37e8de1aee128596ffff91fd67396e;hpb=fbd95be806aa6ee8df82cfccb7628fba6bf0c085;p=vlc diff --git a/modules/Makefile.am b/modules/Makefile.am index e533432bdc..6a1703fb0b 100644 --- a/modules/Makefile.am +++ b/modules/Makefile.am @@ -30,7 +30,7 @@ EXTRA_SUBDIRS = \ $(NULL) SUBDIRS = $(BASE_SUBDIRS) -DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) +DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS) . if ENABLE_SOUT SUBDIRS += access_output mux stream_out endif @@ -52,6 +52,24 @@ endif if HAVE_ARM_NEON SUBDIRS += arm_neon endif +SUBDIRS += . dist_noinst_SCRIPTS = genmf list.sh dist_noinst_DATA = LIST +MOSTLYCLEANFILES = plugins-*-*.dat + +.PHONY: stamp-cache + +stamp-cache: + $(AM_V_GEN)if test "$(build)" = "$(host)"; then \ + ../bin/vlc-cache-gen$(EXEEXT) . ; \ + else \ + echo "Cross-compilation: cache generation skipped!" ; \ + fi + +install-exec-hook: + if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \ + ../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \ + else \ + echo "Staged installation: cache generation skipped!" ; \ + fi