From cd012821aa2e4f6247f4cd6dee14116f86421a7e Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 1 Sep 2005 20:23:21 +0000 Subject: [PATCH] Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins Original commit message from CVS: Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins Add a regression test for level and fix a casting bug that made the additional channels turn out wrong --- release.mak | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/release.mak b/release.mak index 7e2ee50..297bb5f 100644 --- a/release.mak +++ b/release.mak @@ -11,3 +11,15 @@ release: dist # generate md5 sum files %.md5: % md5sum $< > $@ + +# 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) "*** Leftover enumtypes or marshal files in the tarball." && \ + $(ECHO) "*** Make sure the following files are not disted:" && \ + find $(distdir) -name \*-enumtypes.[ch] && \ + find $(distdir) -name \*-marshal.[ch] && \ + false ) -- 2.7.4