diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-09-24 16:27:04 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-09-24 16:27:04 +0200 |
commit | f73db06c09ae3480b3d76a2bba8700444d00f181 (patch) | |
tree | e0dc8f97f8680a721eccf022a9559f1398961bce /common | |
parent | e9c66bffc089df63904377cb88002300086e6440 (diff) |
Imported Upstream version 1.0.0upstream/1.0.0
Diffstat (limited to 'common')
-rw-r--r-- | common/release.mak | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/common/release.mak b/common/release.mak index 7fbf4ca..715657b 100644 --- a/common/release.mak +++ b/common/release.mak @@ -2,11 +2,24 @@ # include $(top_srcdir)/common/release.mak release: dist - $(MAKE) $(PACKAGE)-$(VERSION).tar.xz.md5 + @$(MAKE) $(PACKAGE)-$(VERSION).tar.xz.sha256sum + @echo + @echo "=================================================================================================" + @echo "http://gstreamer.freedesktop.org/src/$(PACKAGE)/$(PACKAGE)-$(VERSION).tar.xz" + @cat $(PACKAGE)-$(VERSION).tar.xz.sha256sum + @echo "=================================================================================================" + @if [ -d ~/releases/ ]; then \ + cp -v $(PACKAGE)-$(VERSION).tar.xz ~/releases/; \ + fi + @if [ -d ../www/data/src ]; then \ + mv -v $(PACKAGE)-$(VERSION).tar.xz ../www/data/src/$(PACKAGE)/ ; \ + mv -v $(PACKAGE)-$(VERSION).tar.xz.sha256sum ../www/data/src/$(PACKAGE)/ ; \ + fi + @echo "=================================================================================================" -# generate md5 sum files -%.md5: % - md5sum $< > $@ +# generate sha256 sum files +%.sha256sum: % + @sha256sum $< > $@ # check that no marshal or enumtypes files are included # this in turn ensures that distcheck fails for missing .list files which is currently @@ -14,8 +27,8 @@ release: dist distcheck-hook: @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch] | grep -v win32`" && \ 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:" && \ + ( echo "*** Leftover enumtypes or marshal files in the tarball." && \ + echo "*** Make sure the following files are not disted:" && \ find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \ find $(distdir) -name \*-marshal.[ch] && \ false ) |