build: add cruft alert for common/shave*
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 26 Mar 2010 17:12:05 +0000 (17:12 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 29 Mar 2010 09:25:07 +0000 (10:25 +0100)
Makefile.am

index 7e4f003..5317b24 100644 (file)
@@ -1,10 +1,5 @@
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-docbook
 
-all-local: gst-element-check-@GST_MAJORMINOR@.m4
-
-gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
-       $(AM_V_GEN)cp gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
-
 # note: keep in sync with configure.ac
 ACLOCAL_AMFLAGS = -I common/m4 -I .
 
@@ -155,3 +150,16 @@ endif
 endif
 
 check: $(CHECK_EXPORTS) check-enum-gettypes
+
+gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
+       $(AM_V_GEN)cp gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
+
+# cruft: plugins that have been merged or moved or renamed
+
+CRUFT_FILES = \
+       $(top_builddir)/common/shave \
+       $(top_builddir)/common/shave-libtool
+
+include $(top_srcdir)/common/cruft.mak
+
+all-local: gst-element-check-@GST_MAJORMINOR@.m4 check-cruft