From 52643cd975238c6e5f08f8172dbce2a05c75c3bb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 5 Sep 2012 10:43:49 -0400 Subject: [PATCH] Cleaner distribution-maker. Requires GNU tar. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 16d387e..30cf62e 100644 --- a/Makefile +++ b/Makefile @@ -24,10 +24,7 @@ uninstall: rm -f ${DESTDIR}/usr/share/man/man1/coverity-submit.1 coverity-submit-$(VERS).tar.gz: $(SOURCES) coverity-submit.1 - find $(SOURCES) coverity-submit.1 -type f | sed "s:^:coverity-submit-$(VERS)/:" >MANIFEST - (cd ..; ln -s coverity-submit coverity-submit-$(VERS)) - (cd ..; tar -czf coverity-submit/coverity-submit-$(VERS).tar.gz `cat coverity-submit/MANIFEST`) - (cd ..; rm coverity-submit-$(VERS)) + tar --transform='s:^:coverity-submit-$(VERS)/:' --show-transformed-names -cvzf coverity-submit-$(VERS).tar.gz $(SOURCES) pychecker: @ln -f coverity-submit coverity-submit.py -- 2.43.0