1 # include this snippet to add a common release: target by using
2 # include $(top_srcdir)/common/release.mak
5 AUTOMAKE_OPTIONS = dist-bzip2
8 $(MAKE) $(PACKAGE)-$(VERSION).tar.gz.md5
9 $(MAKE) $(PACKAGE)-$(VERSION).tar.bz2.md5
11 # generate md5 sum files
15 # check that no marshal or enumtypes files are included
16 # this in turn ensures that distcheck fails for missing .list files which is currently
17 # shadowed when the corresponding .c and .h files are included.
19 @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch] | grep -v win32`" && \
20 test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
21 ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
22 $(ECHO) "*** Make sure the following files are not disted:" && \
23 find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \
24 find $(distdir) -name \*-marshal.[ch] && \