From 2d6ecbda6bb7a891eb29a57a0d92ecbf653eba86 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 29 Sep 2018 10:24:18 -0700 Subject: Move the last bits of release creation into Makefile.am Fixes #938. Signed-off-by: Alexey Neyman --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5fdee307..92b8af50 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,3 +83,16 @@ fetch-docs: maintainer/download-docs.sh .PHONY: gen-tarball-version gen-tarball-version: echo $(VERSION) > $(distdir)/.tarball-version + +DIGESTS = md5 sha1 sha512 +USE_GPG = yes + +dist-create-release: distcheck + for a in $(DIST_ARCHIVES); do \ + for d in $(DIGESTS); do \ + $${d}sum $${a} > $${a}.$${d}; \ + done; \ + if [ "$(USE_GPG)" = "yes" ]; then \ + gpg --detach-sign $${a}; \ + fi; \ + done -- cgit v1.2.3