chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9f95f
)
Delete the old VERSION file before appending the new one in make dist
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
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 1d320d3e6edc6d16a367a733f1744ea11f99b5d1..d5d9695cc8cbee4608ad6222b7c54af1639bb6e1 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-78,7
+78,8
@@
dist: tig.spec
@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