unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6134: `make distclean' doesn't remove .elc files
@ 2010-05-07 15:10 Paul Pogonyshev
  2010-05-07 17:20 ` Glenn Morris
  2010-05-08 22:02 ` Juanma Barranquero
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Pogonyshev @ 2010-05-07 15:10 UTC (permalink / raw)
  To: 6134

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







^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6134: `make distclean' doesn't remove .elc files
  2010-05-07 15:10 bug#6134: `make distclean' doesn't remove .elc files Paul Pogonyshev
@ 2010-05-07 17:20 ` Glenn Morris
  2010-05-08 22:02 ` Juanma Barranquero
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2010-05-07 17:20 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 6134

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.






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#6134: `make distclean' doesn't remove .elc files
  2010-05-07 15:10 bug#6134: `make distclean' doesn't remove .elc files Paul Pogonyshev
  2010-05-07 17:20 ` Glenn Morris
@ 2010-05-08 22:02 ` Juanma Barranquero
  1 sibling, 0 replies; 3+ messages in thread
From: Juanma Barranquero @ 2010-05-08 22:02 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 6134

> 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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-08 22:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 15:10 bug#6134: `make distclean' doesn't remove .elc files Paul Pogonyshev
2010-05-07 17:20 ` Glenn Morris
2010-05-08 22:02 ` Juanma Barranquero

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).