aboutsummaryrefslogtreecommitdiff
path: root/common/release.mak
diff options
context:
space:
mode:
Diffstat (limited to 'common/release.mak')
-rw-r--r--common/release.mak25
1 files changed, 19 insertions, 6 deletions
diff --git a/common/release.mak b/common/release.mak
index 7fbf4ca1..715657b3 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 )