summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0e9f95f)
raw | patch | inline | side by side (parent: 0e9f95f)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 20 Jun 2007 07:40:27 +0000 (09:40 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 20 Jun 2007 07:40:27 +0000 (09:40 +0200) |
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 1d320d3e6edc6d16a367a733f1744ea11f99b5d1..d5d9695cc8cbee4608ad6222b7c54af1639bb6e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@mkdir -p $(TARNAME) && \
cp tig.spec $(TARNAME) && \
echo $(VERSION) > $(TARNAME)/VERSION
- git archive --format=tar --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar && \
+ git archive --format=tar --prefix=$(TARNAME)/ HEAD | \
+ tar --delete $(TARNAME)/VERSION > $(TARNAME).tar && \
tar rf $(TARNAME).tar $(TARNAME)/tig.spec $(TARNAME)/VERSION && \
gzip -f -9 $(TARNAME).tar && \
md5sum $(TARNAME).tar.gz > $(TARNAME).tar.gz.md5