From a6819e636d63d010deee3fd0197b43ed8c53df2f Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Sun, 12 May 2013 15:00:49 +0200 Subject: Use `git archive' instead of `tar'. Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Dirk Hohndel --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Makefile b/Makefile index dd415129c..7ff9a6eab 100644 --- a/Makefile +++ b/Makefile @@ -315,15 +315,6 @@ clean: release: @scripts/check-version -cr $(VERSION_STRING) - # Add other rules (like tar-command) bellow - tar czf $(NAME)-$(VERSION_STRING).tar.gz \ - --exclude-backups \ - --exclude .dep \ - --exclude .git \ - --exclude .gitignore \ - --exclude-from .gitignore \ - --exclude '*~' \ - --exclude subsurface \ - . + git archive -o $(NAME)-$(VERSION_STRING).tar.gz v$(VERSION_STRING) -include $(DEPS) -- cgit v1.2.3-70-g09d2