diff --git a/Makefile b/Makefile index be42b7d8..720e9d79 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ tag: docs: $(MAKE) -C docs apidoc html -archive: tag +archive: @git archive --format=tar --prefix=$(PKGNAME)-$(VERSION)/ $(TAG) > $(PKGNAME)-$(VERSION).tar @gzip -f $(PKGNAME)-$(VERSION).tar @echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"