From: Eric S. Raymond Date: Thu, 30 Aug 2012 22:43:34 +0000 (-0400) Subject: Simpler archiving production. X-Git-Tag: 1.0~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4642405a8640b7f56f69d81e964d22fe125e1e62;p=irker.git Simpler archiving production. --- diff --git a/Makefile b/Makefile index ac3ad66..d255e1e 100644 --- a/Makefile +++ b/Makefile @@ -27,16 +27,13 @@ pylint: @pylint --output-format=parseable $(PYLINTOPTS) irker -SOURCES = README COPYING NEWS irker Makefile irker.xml irker-logo.jpg +SOURCES = README COPYING NEWS irker Makefile irker.xml irker-logo.png version: @echo $(VERS) irker-$(VERS).tar.gz: $(SOURCES) irker.1 - @ls $(SOURCES) irker.1 | sed s:^:irker-$(VERS)/: >MANIFEST - @(cd ..; ln -s irker irker-$(VERS)) - (cd ..; tar -czf irker/irker-$(VERS).tar.gz `cat irker/MANIFEST`) - @(cd ..; rm irker-$(VERS)) + tar --transform='s:^:irker-$(VERS)/:' --show-transformed-names -cvzf irker-$(VERS).tar.gz $(SOURCES) dist: irker-$(VERS).tar.gz