From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs Date: Mon, 04 Nov 2002 10:26:04 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200211041526.gA4FQ4t23653@rum.cs.yale.edu> References: <200211030224.gA32Omb10688@rum.cs.yale.edu> <20021104001439.8888.LEKTU@terra.es> <200211041453.gA4ErpR23403@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1036424554 22843 80.91.224.249 (4 Nov 2002 15:42:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 15:42:34 +0000 (UTC) Cc: "Stefan Monnier" , Juanma Barranquero , Steven Tamm , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 188jN2-0005wJ-00 for ; Mon, 04 Nov 2002 16:42:32 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 188jUc-0008Ep-00 for ; Mon, 04 Nov 2002 16:50:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188jMz-0000o5-00; Mon, 04 Nov 2002 10:42:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 188j7C-0004Mo-00 for emacs-devel@gnu.org; Mon, 04 Nov 2002 10:26:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 188j78-0004Kr-00 for emacs-devel@gnu.org; Mon, 04 Nov 2002 10:26:09 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 188j77-0004KC-00 for emacs-devel@gnu.org; Mon, 04 Nov 2002 10:26:05 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id gA4FQ4t23653; Mon, 4 Nov 2002 10:26:04 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Andreas Schwab Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9109 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9109 > "Stefan Monnier" writes: > > |> The question was: do you care whether you have to say > |> > |> make bootstrap > |> or > |> make clean bootstrap > |> > |> when you want to do your consistency-check bootstrap ? > > make clean does not rm *.elc, only bootstrap-clean does. I wouldn't know, I use cvsclean instead. Stefan #!/usr/bin/perl sub cvsclean { my($path) = @_; my(%files) = (); my(@subdirs); print STDOUT "Cleaning $path\n"; opendir (DIR, "$path/") || die "No directory $path"; open (ENTRIES, "$path/CVS/Entries") || die "No $path/CVS/Entries file"; while () { if (m[^D/([^/]+)]) { push (@subdirs, "$path/$1"); } elsif (m[^/([^/]+)/[^/-]]) { $files{$1} = "managed"; } } foreach $entry (readdir(DIR)) { if (!exists ($files{$entry})) { $entry = "$path/$entry"; if (-f $entry) { print STDOUT "unlink $entry\n"; unlink $entry; } } } foreach $subdir (@subdirs) { &cvsclean ($subdir); } } &cvsclean (".");