m4: Update gtk-doc m4 macros to those of gtk-doc 1.18
[platform/upstream/gst-common.git] / release.mak
1 # include this snippet to add a common release: target by using
2 # include $(top_srcdir)/common/release.mak
3
4 release: dist
5         $(MAKE) $(PACKAGE)-$(VERSION).tar.xz.md5
6
7 # generate md5 sum files
8 %.md5: %
9         md5sum $< > $@
10
11 # check that no marshal or enumtypes files are included
12 # this in turn ensures that distcheck fails for missing .list files which is currently
13 # shadowed when the corresponding .c and .h files are included.
14 distcheck-hook:
15         @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch] | grep -v win32`" && \
16         test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
17         ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
18           $(ECHO) "*** Make sure the following files are not disted:" && \
19           find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \
20           find $(distdir) -name \*-marshal.[ch] && \
21           false )