Makefile: create gzipped release archive

Previously it just looked like a tar.gz file, but it was a plain tar
archive.
This commit is contained in:
Lars Kruse 2020-04-12 17:49:36 +02:00
parent 1b43f16454
commit a0c555c2bd

View file

@ -64,7 +64,7 @@ clean-all: clean-node clean-dist
$(TGZ_FILE):
@echo "Building $@ ..."
@mkdir -p "$(dir $(@))"
git archive --prefix=muninlite-$(VERSION)/ --format=tar --output "$@.tmp" HEAD
git archive --prefix=muninlite-$(VERSION)/ --format=tar.gz --output "$@.tmp" HEAD
mv "$@.tmp" "$@"
$(TGZ_FILE_SIGNATURE): $(TGZ_FILE)