build: Fix the release-message target

Generate the SHA256 checksum file during release-upload and then copy it
to the build directory.
This commit is contained in:
Emmanuele Bassi 2010-10-04 15:47:53 +01:00
parent 75e016ac20
commit cd7df1b421

View File

@ -17,7 +17,7 @@ tar_file = $(distdir).tar.bz2
sha256_file = $(distdir).sha256sum
$(sha256_file): $(tar_file)
$(AM_V_GEN)sha256sum $^ > $(top_builddir)/build/$@
$(AM_V_GEN)sha256sum $^ > $@
release-tag:
@if test "x$(CLUTTER_RELEASE_STATUS)" = "xgit"; then \
@ -54,8 +54,9 @@ release-verify-even-micro:
false)
@echo "Good."
release-upload: $(tar_file)
release-upload: $(sha256_file)
@scp $(tar_file) $(RELEASE_UPLOAD_DIR)
@mv -f $(sha256_file) $(top_builddir)/build/$(sha256_file)
release-message:
@echo "Release URL: $(RELEASE_URL)/$(tar_file)"
@ -64,7 +65,7 @@ release-message:
@echo " Subject: Clutter $(CLUTTER_VERSION) ($(CLUTTER_RELEASE_STATUS))"
@echo "Contents:"
@echo "--- CUT HERE ---"
@echo "A new Clutter $(CLUTTER_RELEASE_STATUS) $(CLUTTER_VERSION) is now available at:"
@echo "A new Clutter $(CLUTTER_RELEASE_STATUS) is now available at:"
@echo ""
@echo " $(RELEASE_URL)/$(tar_file)"
@echo ""