aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-28 21:52:04 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-28 21:52:04 +0000
commit0558264b6b0de204ad4c91fa9b228fa57f42a788 (patch)
tree0c04ea208c98b4213cd553e9f492ae5f378eaacb
parent3c017e402435ac8d89b7e158e042b05870f47e27 (diff)
downloadgdb-0558264b6b0de204ad4c91fa9b228fa57f42a788.zip
gdb-0558264b6b0de204ad4c91fa9b228fa57f42a788.tar.gz
gdb-0558264b6b0de204ad4c91fa9b228fa57f42a788.tar.bz2
2004-02-28 Andrew Cagney <cagney@redhat.com>
* src-release (CVS_NAMES): Define. (do-tar, do-tar): Prune $(CVS_NAMES).
-rw-r--r--ChangeLog5
-rw-r--r--src-release8
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8cd9c9b..4f9694e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-28 Andrew Cagney <cagney@redhat.com>
+
+ * src-release (CVS_NAMES): Define.
+ (do-tar, do-tar): Prune $(CVS_NAMES).
+
2004-02-23 Andrew Cagney <cagney@redhat.com>
* texinfo/texinfo.tex: Update from version 2003-02-03.16 to
diff --git a/src-release b/src-release
index 403ce14..4fec631 100644
--- a/src-release
+++ b/src-release
@@ -208,11 +208,14 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
-rm -f $(PACKAGE)-$(VER)
ln -s proto-toplev $(PACKAGE)-$(VER)
+CVS_NAMES= \( -name CVS -o -name '.cvsignore' \)
+
.PHONY: do-tar
do-tar:
echo "==> Making $(PACKAGE)-$(VER).tar"
-rm -f $(PACKAGE)-$(VER).tar
- find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \
+ find $(PACKAGE)-$(VER) -follow $(CVS_NAMES) -prune \
+ -o -type f -print \
| tar cTfh - $(PACKAGE)-$(VER).tar
.PHONY: do-bz2
@@ -224,7 +227,8 @@ do-bz2:
.PHONY: do-md5sum
do-md5sum:
echo "==> Adding md5 checksum to top-level directory"
- cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \
+ cd proto-toplev && find * -follow $(CVS_NAMES) -prune \
+ -o -type f -print \
| xargs $(MD5PROG) > ../md5.sum
mv md5.sum proto-toplev