From 4642405a8640b7f56f69d81e964d22fe125e1e62 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 30 Aug 2012 18:43:34 -0400 Subject: [PATCH] Simpler archiving production. --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.26.2