[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs in CVS as today does not build - emacs depends on *.elc, which
From: |
Stefan Monnier |
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 |
> "Stefan Monnier" <monnier+gnu/address@hidden> 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 (".");
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, (continued)
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Stefan Monnier, 2002/11/01
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Andreas Schwab, 2002/11/02
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Stefan Monnier, 2002/11/02
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Juanma Barranquero, 2002/11/03
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Kai Großjohann, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Stefan Monnier, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Juanma Barranquero, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Stefan Monnier, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Juanma Barranquero, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Andreas Schwab, 2002/11/04
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs,
Stefan Monnier <=
Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Richard Stallman, 2002/11/01
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Karl Fogel, 2002/11/02
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Karl Fogel, 2002/11/20
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Kim F. Storm, 2002/11/20
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Karl Fogel, 2002/11/20
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Richard Stallman, 2002/11/21
- Re: Emacs in CVS as today does not build - emacs depends on *.elc, which cannot be built without emacs, Karl Fogel, 2002/11/21