From 4eb2d088afb94d2fb623a5b307ec5471d2559873 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 24 Jun 2004 01:43:54 +0000 Subject: don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball. Original commit message from CVS: * gst-libs/gst/colorbalance/Makefile.am: * gst-libs/gst/mixer/Makefile.am: * gst-libs/gst/play/Makefile.am: * gst-libs/gst/tuner/Makefile.am: * gst/tcp/Makefile.am: * sys/dxr3/Makefile.am: don't include -enumtypes.[ch] or -marshal.[ch] files in the disted tarball. Also add all *.list files that were missing. * Makefile.am: add a distcheck hook to ensure the above doesn't happen again. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 258a79c8..d773bc68 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,5 +44,13 @@ EXTRA_DIST=gst-plugins.spec depcomp \ DISTCLEANFILES=_stdint.h +# check that no marshal or enumtypes files are included +# this in turn ensures that distcheck fails for missing .list files which is currently +# shadowed when the corresponding .c and .h files are included. +distcheck-hook: + test "x" = "x`find $(distdir) -name \*-enumtypes.[ch]`" && \ + test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \ + ( $(ECHO) "*** Still leftover enumtypes or marshal files in the tarball. Please make sure those are not disted." && false ) + include $(top_srcdir)/common/release.mak include $(top_srcdir)/common/po.mak -- cgit