From 6d37d8ee46d5c083707a86ff40597df74553ccc5 Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Sun, 12 May 2013 11:52:32 +0200 Subject: [PATCH] A release includes a tar-ball. Signed-off-by: Cristian Ionescu-Idbohrn Signed-off-by: Dirk Hohndel --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5745e948f..dd415129c 100644 --- a/Makefile +++ b/Makefile @@ -314,7 +314,16 @@ clean: rm -rf share .dep release: - @scripts/check-version -cdr $(VERSION_STRING) + @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 \ + . -include $(DEPS)