GNU bug report logs - #6134
`make distclean' doesn't remove .elc files

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>

Date: Fri, 7 May 2010 15:11:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6134 in the body.
You can then email your comments to 6134 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6134; Package emacs. (Fri, 07 May 2010 15:11:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <p.pogonyshev <at> anakreon.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 07 May 2010 15:11:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
To: bug-gnu-emacs <at> gnu.org
Subject: `make distclean' doesn't remove .elc files
Date: Fri, 7 May 2010 18:10:33 +0300
When I invoke

    make distclean

in a repository clone, I expect to get a completely clean tree, so
that next recompilation doesn't use any leftovers of previous one.
However, .elc files are not deleted and it is easy to forget that you
have to delete them manually if you are not recompiling Emacs on a
daily basis.

This, in particular, led to a "bug" report:

    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6107

Paul





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6134; Package emacs. (Fri, 07 May 2010 17:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 6134 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6134 <at> debbugs.gnu.org
Subject: Re: bug#6134: `make distclean' doesn't remove .elc files
Date: Fri, 07 May 2010 13:20:26 -0400
Paul Pogonyshev wrote:

> When I invoke
>
>     make distclean
>
> in a repository clone, I expect to get a completely clean tree, so
> that next recompilation doesn't use any leftovers of previous one.
> However, .elc files are not deleted

The .elc files are included in release tar-files, so it is
inappropriate for distclean to remove them.

Unless CPU time is a constraint, I recommend maintainer-clean with VCS
checkouts. Or use `make bootstrap', as suggested in INSTALL.BZR.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6134; Package emacs. (Sat, 08 May 2010 22:03:01 GMT) Full text and rfc822 format available.

Message #11 received at 6134 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Paul Pogonyshev <p.pogonyshev <at> anakreon.net>
Cc: 6134 <at> debbugs.gnu.org
Subject: Re: bug#6134: `make distclean' doesn't remove .elc files
Date: Sun, 9 May 2010 00:02:14 +0200
> When I invoke
>
>    make distclean
>
> in a repository clone, I expect to get a completely clean tree

If you mean a Bazaar clone, you can use

  bzr clean-tree --unknown --ignored --detritus

which should leave only the pristine tree (and .bzr metadata, of
course). I have such an alias

  bzr alias extraclean="clean-tree --unknown --ignored --detritus"

and invoke it as "bzr extraclean --force".

Of course, after that you'll have to configure & bootstrap.

    Juanma




bug closed, send any further explanations to Paul Pogonyshev <p.pogonyshev <at> anakreon.net> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 21 May 2010 07:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 18 Jun 2010 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.