GNU bug report logs - #13199
Cleanly rebuild once != cleanly rebuild twice

Previous Next

Package: emacs;

Reported by: Kelly Dean <kellydeanch <at> yahoo.com>

Date: Sun, 16 Dec 2012 11:54:02 UTC

Severity: minor

Tags: notabug, wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Kelly Dean <kellydeanch <at> yahoo.com>
Cc: 13199 <at> debbugs.gnu.org
Subject: bug#13199: Cleanly rebuild once != cleanly rebuild twice
Date: Sun, 16 Dec 2012 15:04:59 -0500
Kelly Dean wrote:

> With the Emacs 24.2 source code and GNU Make 3.81, "make clean; make"
> does not give the same result as "make clean; make; make clean; make".
> This failure is user unfriendly; it leads to confusion when you're
> trying to debug, if you only do "make clean; make" after editing the
> source code.
>
> Steps to reproduce the bug/feature:
>
> tar Jxf emacs-24.2.tar.xz
> cd emacs-24.2
> ./configure  --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no
> mv lisp/help-macro.el lisp/help-macro.el.old
> sed -e "s/\*Help\*/\*Foo\*/g" < lisp/help-macro.el.old > lisp/help-macro.el
> make clean; make; make clean; make


Because the .el files are pre-compiled in a normal Emacs release, make
clean does not (and should not) delete .elc files. If you want to patch
lisp files, I advise you to use a more thorough `make maintainer-clean'
first. This is unnecessary for the vast majority of people building a
release. (I haven't actually tested your example.)




This bug report was last modified 12 years and 110 days ago.

Previous Next


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