From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9147 invoked by alias); 28 Feb 2004 20:01:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9134 invoked from network); 28 Feb 2004 20:01:28 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.170.238) by sources.redhat.com with SMTP; 28 Feb 2004 20:01:28 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A9B2E2B92; Sat, 28 Feb 2004 15:01:21 -0500 (EST) Message-ID: <4040F391.30401@gnu.org> Date: Sat, 28 Feb 2004 20:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Andreas Schwab , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Cc: Ian Lance Taylor Subject: [patch/rfc] Skip .cvsfiles in src-release; Was: [rfa/binutils] distclean .cvsignore? References: <4040D628.50205@gnu.org> <4040E14C.6090607@gnu.org> In-Reply-To: Content-Type: multipart/mixed; boundary="------------040704090807080700050605" X-SW-Source: 2004-02/txt/msg00857.txt.bz2 This is a multi-part message in MIME format. --------------040704090807080700050605 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 161 The attached modifies src-release to prune .cvsignore when building a release. Any problems with this one? (note, I'm still testing it, chug, chug). Andrew --------------040704090807080700050605 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1159 2004-02-28 Andrew Cagney * src-release (CVS_NAMES): Define. (do-tar, do-tar): Prune $(CVS_NAMES). Index: src-release =================================================================== RCS file: /cvs/src/src/src-release,v retrieving revision 1.9 diff -u -r1.9 src-release --- src-release 15 Jan 2004 23:24:29 -0000 1.9 +++ src-release 28 Feb 2004 19:59:01 -0000 @@ -208,11 +208,14 @@ -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 @@ .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 --------------040704090807080700050605--