summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>2013-05-12 15:00:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-12 07:25:53 -0700
commita6819e636d63d010deee3fd0197b43ed8c53df2f (patch)
tree28f8087cae3d1028431117953ce55be0aa92c5cc /Makefile
parent83684444f409a650f67d3a5f2a815235cba9d0f9 (diff)
downloadsubsurface-a6819e636d63d010deee3fd0197b43ed8c53df2f.tar.gz
Use `git archive' instead of `tar'.
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, 1 insertions, 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)