1 # include this snippet to add a common release: target by using
2 # include $(top_srcdir)/common/release.mak
5 @$(MAKE) $(PACKAGE)-$(VERSION).tar.xz.sha256sum
7 @echo "================================================================================================="
8 @echo "http://gstreamer.freedesktop.org/src/$(PACKAGE)/$(PACKAGE)-$(VERSION).tar.xz"
9 @cat $(PACKAGE)-$(VERSION).tar.xz.sha256sum
10 @echo "================================================================================================="
11 @if [ -d ~/releases/ ]; then \
12 cp -v $(PACKAGE)-$(VERSION).tar.xz ~/releases/; \
14 @if [ -d ../www/data/src ]; then \
15 mv -v $(PACKAGE)-$(VERSION).tar.xz ../www/data/src/$(PACKAGE)/ ; \
16 mv -v $(PACKAGE)-$(VERSION).tar.xz.sha256sum ../www/data/src/$(PACKAGE)/ ; \
18 @echo "================================================================================================="
20 # generate sha256 sum files
24 # check that no marshal or enumtypes files are included
25 # this in turn ensures that distcheck fails for missing .list files which is currently
26 # shadowed when the corresponding .c and .h files are included.
28 @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch] | grep -v win32`" && \
29 test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
30 ( echo "*** Leftover enumtypes or marshal files in the tarball." && \
31 echo "*** Make sure the following files are not disted:" && \
32 find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \
33 find $(distdir) -name \*-marshal.[ch] && \