Update build rules for the plugins cache in build tree
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 22 Aug 2011 15:24:52 +0000 (18:24 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 22 Aug 2011 15:24:52 +0000 (18:24 +0300)
modules/.gitignore
modules/Makefile.am

index adf5368..4798b99 100644 (file)
@@ -1 +1 @@
-plugins-*.dat
+plugins.dat
index 3b3664d..9205ea2 100644 (file)
@@ -63,11 +63,13 @@ SUBDIRS += .
 
 dist_noinst_SCRIPTS = genmf list.sh
 dist_noinst_DATA = LIST
-MOSTLYCLEANFILES = plugins.dat*
+noinst_DATA = plugins.dat
+MOSTLYCLEANFILES = $(noinst_DATA)
 
-.PHONY: stamp-cache
+.PHONY: plugins.dat
 
-stamp-cache:
+plugins.dat:
+       $(AM_V_at)rm -f plugins.dat
        $(AM_V_GEN)if test "$(build)" = "$(host)"; then \
                ../bin/vlc-cache-gen$(EXEEXT) . ; \
        else \