aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-09-25 00:17:08 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-09-25 00:17:08 +0200
commite8789381f41f0f3951e9631c8a44a21e582e0473 (patch)
treef2729cbc9a2243725dc82a64a62a724da83c5b2d /Makefile.in
parent747315599d26c3d58d30805927934313d3ba0dc5 (diff)
Imported Upstream version 1.0.0
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in25
1 files changed, 19 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 00b6f2c8..e7640246 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1142,11 +1142,24 @@ check-nonportable-print-format:
dist-hook: check-exports win32-check-crlf
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
@@ -1154,8 +1167,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 )