Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@gnu.org>2000-05-16 04:09:00 +0400
committerAndrew Cagney <cagney@gnu.org>2000-05-16 04:09:00 +0400
commit559cf1c6d7038e137e8175948b770f5dc33025a6 (patch)
treee25ba39d67001eecf0e367001e651e1e8c5727a5 /Makefile.in
parent0f1c263ae1540e8c5b9bc56d9fe296ccc32a6ee5 (diff)
Skip CVS directories when creating tar ball.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 038022c09..8e26f2d32 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1793,13 +1793,16 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
.PHONY: do-tar-bz2
do-tar-bz2:
echo "==> Making $(PACKAGE)-$(VER).tar.bz2"
- tar cfh $(PACKAGE)-$(VER).tar $(PACKAGE)-$(VER)
+ -rm -f $(PACKAGE)-$(VER).tar.bz2
+ find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
+ | tar cTfh - $(PACKAGE)-$(VER).tar
$(BZIPPROG) -v -9 $(PACKAGE)-$(VER).tar
.PHONY: do-md5sum
do-md5sum:
echo "==> Adding md5 checksum to top-level directory"
- ( cd proto-toplev && find * -follow -type f -print | xargs $(MD5PROG) ) > md5.sum
+ cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \
+ | xargs $(MD5PROG) > ../md5.sum
mv md5.sum proto-toplev
.PHONY: do-djunpack