[PATCH 2/3] Use `git archive' instead of `tar'.

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun May 12 06:00:49 PDT 2013


Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
---
 Makefile |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index cfddf5b..55b4bab 100644
--- a/Makefile
+++ b/Makefile
@@ -314,15 +314,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)
-- 
1.7.10.4



More information about the subsurface mailing list