summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)