diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-27 01:10:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-27 01:10:29 +0000 |
commit | 9523902714a1be6a93435b5eb56cfec5b8488830 (patch) | |
tree | 710e9e26fc4a9d678d502aed46aab60365db3471 | |
parent | 353643416747259ea9c37f365acbd1ce7d8fcf2f (diff) | |
download | binutils-redhat-9523902714a1be6a93435b5eb56cfec5b8488830.tar.gz |
Do not include CVS files in the archive.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Thu Apr 27 11:01:48 2000 Andrew Cagney <cagney@b1.cygnus.com> + + * Makefile.in (do-tar-bz2, do-md5sum): Skip CVS directories when + building file lists. + Wed Apr 26 17:03:53 2000 Andrew Cagney <cagney@b1.cygnus.com> * Makefile.in (do-djunpack): New target. Update djunpack.bat with diff --git a/Makefile.in b/Makefile.in index 038022c09e..8e26f2d324 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 |