From 020f2b9f5ccda6fabf1617ab54675035a2c8c97c Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Sat, 23 Apr 2022 12:38:03 -0400 Subject: [PATCH] Makefile: only make a single SUMS file, including sha1 and sha512 Signed-off-by: Vincent Batts --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0eb08af..c5aad96 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,11 @@ build.arches: ./bin a=$$(echo $$pair | cut -d , -f 2);\ echo "Building $$p/$$a ...";\ GOOS=$$p GOARCH=$$a go build -mod=vendor -o ./bin/gomtree.$$p.$$a $(BUILDPATH) ;\ - done + done ;\ + cd bin ;\ + sha1sum gomtree.* > SUMS ;\ + sha512sum gomtree.* >> SUMS ;\ + cd - clean: rm -rf $(BUILD) $(CLEAN_FILES)