unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>,
	Juanma Barranquero <lektu@terra.es>,
	Steven Tamm <steventamm@mac.com>,
	emacs-devel@gnu.org
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	[thread overview]
Message-ID: <200211041526.gA4FQ4t23653@rum.cs.yale.edu> (raw)
In-Reply-To: jen0opqrwd.fsf@sykes.suse.de

> "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu> 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 (<ENTRIES>) {
        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 (".");

  reply	other threads:[~2002-11-04 15:26 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29 21:42 Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs Thorbjørn Ravn Andersen
2002-10-29 21:55 ` Thorbjørn Ravn Andersen
2002-10-30 22:00   ` Kim F. Storm
2002-10-31  8:10     ` Thorbjørn Ravn Andersen
2002-10-31 14:14       ` Eli Zaretskii
2002-10-31 14:40         ` Thorbjørn Ravn Andersen
2002-10-31 14:55           ` Andreas Schwab
2002-10-31 16:24             ` Thorbjørn Ravn Andersen
2002-10-31 17:01               ` Stefan Monnier
2002-11-01  0:41                 ` Steven Tamm
2002-11-01 15:34                   ` Stefan Monnier
2002-11-02 17:15                     ` Andreas Schwab
2002-11-03  2:24                       ` Stefan Monnier
2002-11-03 23:27                         ` Juanma Barranquero
2002-11-04  7:20                           ` Kai Großjohann
2002-11-04 14:53                           ` Stefan Monnier
2002-11-04 15:24                             ` Andreas Schwab
2002-11-04 15:26                               ` Stefan Monnier [this message]
2002-11-04 15:31                             ` Juanma Barranquero
2002-11-04 15:43                               ` Stefan Monnier
2002-11-04 16:17                                 ` Juanma Barranquero
2002-11-02  3:32                   ` Richard Stallman
2002-11-01  8:34                 ` Thorbjørn Ravn Andersen
2002-11-01 15:40                   ` Stefan Monnier
2002-11-03  8:13                     ` Thorbjørn Ravn Andersen
2002-11-03  8:36                       ` Alfred M. Szmidt
2002-11-03  9:10                         ` Thorbjørn Ravn Andersen
2002-11-04 12:02                           ` Richard Stallman
2002-10-31 18:10               ` Andreas Schwab
2002-11-02  3:32                 ` Richard Stallman
2002-11-02  2:37                   ` Karl Fogel
2002-11-03 13:56                     ` Richard Stallman
2002-11-04  1:31                       ` Karl Fogel
2002-11-04 18:06                         ` Richard Stallman
2002-11-20  1:42                       ` Karl Fogel
2002-11-20 11:29                         ` Kim F. Storm
2002-11-20 17:05                           ` Karl Fogel
2002-11-21 17:13                             ` Richard Stallman
2002-11-21 17:05                               ` Karl Fogel
2002-11-23 22:57                                 ` Richard Stallman
2002-11-21 17:12                         ` Richard Stallman
2002-11-01  9:39               ` Richard Stallman
2002-10-31 19:03           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211041526.gA4FQ4t23653@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --cc=emacs-devel@gnu.org \
    --cc=lektu@terra.es \
    --cc=steventamm@mac.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).