summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e61a1e3)
raw | patch | inline | side by side (parent: e61a1e3)
author | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 1 Jun 2007 20:43:48 +0000 (22:43 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Fri, 1 Jun 2007 20:43:48 +0000 (22:43 +0200) |
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 0e42de61f0c927ba77db66549828f52c34b7495f..539ade09f822482137d042c950dd5e0d5ac6a8cf 100644 (file)
--- a/Makefile
+++ b/Makefile
clean:
rm -rf manual.html-chunked $(TARNAME)
rm -f $(PROGS) $(ALLDOC) core *.xml *.toc
- rm -f *.spec tig-*.tar.gz
+ rm -f *.spec tig-*.tar.gz tig-*.tar.gz.md5
spell-check:
aspell --lang=en --check tig.1.txt tigrc.5.txt manual.txt
strip $(PROGS)
dist: tig.spec
- git-archive --format=tar --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
- @mkdir -p $(TARNAME)
- @cp tig.spec $(TARNAME)
- tar rf $(TARNAME).tar $(TARNAME)/tig.spec
+ @mkdir -p $(TARNAME) && \
+ cp tig.spec $(TARNAME)
+ git-archive --format=tar --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar && \
+ tar rf $(TARNAME).tar $(TARNAME)/tig.spec && \
+ 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