author | Jonas Fonseca <fonseca@diku.dk> | |
Sat, 2 Jun 2007 09:03:12 +0000 (11:03 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Sat, 2 Jun 2007 09:04:04 +0000 (11:04 +0200) |
Conflicts:
Makefile
Makefile
1 | 2 | |||
---|---|---|---|---|
Makefile | patch | | diff1 | | diff2 | | blob | history |
diff --cc Makefile
index 539ade09f822482137d042c950dd5e0d5ac6a8cf,bc8086fdcf7a8494e2e719607972d64403e7ad35..61fc86b246f9615996ec9e4eb78c5520b32f99f1
+++ b/Makefile
strip $(PROGS)
dist: tig.spec
- git-archive --format=tar --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
- @mkdir -p $(TARNAME)
- @cp tig.spec $(TARNAME)
+ @mkdir -p $(TARNAME) && \
- cp tig.spec $(TARNAME)
++ cp tig.spec $(TARNAME) && \
+ echo $(VERSION) > $(TARNAME)/VERSION
- tar rf $(TARNAME).tar \
- $(TARNAME)/tig.spec \
- $(TARNAME)/VERSION
+ git-archive --format=tar --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar && \
- tar rf $(TARNAME).tar $(TARNAME)/tig.spec && \
++ tar rf $(TARNAME).tar $(TARNAME)/tig.spec $(TARNAME)/VERSION && \
+ gzip -f -9 $(TARNAME).tar && \
+ md5sum $(TARNAME).tar.gz > $(TARNAME).tar.gz.md5
@rm -rf $(TARNAME)
- gzip -f -9 $(TARNAME).tar
rpm: dist
rpmbuild -ta $(TARNAME).tar.gz