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>
This commit is contained in:
Cristian Ionescu-Idbohrn 2013-05-12 15:00:49 +02:00 committed by Dirk Hohndel
parent 83684444f4
commit a6819e636d

View file

@ -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)