resetting manifest requested domain to floor
[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.sha256sum
6         @echo
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/; \
13         fi
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)/ ; \
17         fi
18         @echo "================================================================================================="
19
20 # generate sha256 sum files
21 %.sha256sum: %
22         @sha256sum $< > $@
23
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.
27 distcheck-hook:
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] && \
34           false )