diff --git a/Makefile.am b/Makefile.am index 792c011..22dcf89 100644 --- a/Makefile.am +++ b/Makefile.am @@ -37,8 +37,9 @@ endif # Target to run when building a release # release: distcheck - @for file in $(DIST_ARCHIVES); do \ - md5sum $$file > ../$$file.md5; \ + @for file in $(DIST_ARCHIVES); do \ + md5sum $$file > ../$$file.md5; \ + sha256sum $$file > ../$$file.sha256; \ done @mv $(DIST_ARCHIVES) ../ @echo @@ -47,6 +48,7 @@ release: distcheck @for file in $(DIST_ARCHIVES); do \ printf "$$file \tDistribution tarball\n"; \ printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' '; \ + printf "$$file.sha256\t"; cat ../$$file.sha256 | cut -f1 -d' '; \ done # Workaround for systemd unit file duing distcheck