Andrewio Patrickoforus Wingonymus - 5 additional tests for your sins
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 1 Sep 2005 20:23:21 +0000 (20:23 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 1 Sep 2005 20:23:21 +0000 (20:23 +0000)
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

index 7e2ee50..297bb5f 100644 (file)
@@ -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 )