summaryrefslogtreecommitdiff
path: root/release.mak
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-09-01 20:23:21 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-09-01 20:23:21 +0000
commitcd012821aa2e4f6247f4cd6dee14116f86421a7e (patch)
tree3fb5a55ec33d765abf08429a41061d880ad64c9f /release.mak
parentb0ee0e4262014001faceb47d71c3a44c75ab86b4 (diff)
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
Diffstat (limited to 'release.mak')
-rw-r--r--release.mak12
1 files changed, 12 insertions, 0 deletions
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 )