summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>2013-05-12 11:52:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-12 07:23:59 -0700
commit6d37d8ee46d5c083707a86ff40597df74553ccc5 (patch)
tree6bb7930c3beec0179ad5c01c9f4f2d46d5911b9f /Makefile
parent9cae783703391355360715b91cd86f67da1d3b27 (diff)
downloadsubsurface-6d37d8ee46d5c083707a86ff40597df74553ccc5.tar.gz
A release includes a tar-ball.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
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)