unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12410: 24.2.50; `make distclean' runs ./configure before cleaning
@ 2012-09-11  9:03 Bastien
  2012-09-11 17:24 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-09-11  9:03 UTC (permalink / raw)
  To: 12410


I just ran `make distclean' with latest bzr revision and noticed
it runs ./configure before cleaning up the dist files.

Is it necessary?


In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-10 on myhost
Bzr revision: 109965 cyd@gnu.org-20120910032510-vrblnwlfnsb0cx3s
Windowing system distributor `The X.Org Foundation', version 11.0.11201000
Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

-- 
 Bastien





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

* bug#12410: 24.2.50; `make distclean' runs ./configure before cleaning
  2012-09-11  9:03 bug#12410: 24.2.50; `make distclean' runs ./configure before cleaning Bastien
@ 2012-09-11 17:24 ` Glenn Morris
  2012-09-11 17:44   ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2012-09-11 17:24 UTC (permalink / raw)
  To: Bastien; +Cc: 12410

Bastien wrote:

> I just ran `make distclean' with latest bzr revision and noticed
> it runs ./configure before cleaning up the dist files.
>
> Is it necessary?

It can be, yes. IIUC:

Makefile itself has dependencies on eg the various Makefile.in's.
If these get updated in the repository, configure has to be run to
regenerate the Makefiles before doing anything else. For example,
suppose there was a bug in Makefile.in whereby distclean did `rm -rf /'.
If a fix was checked in, you'd want Makefile to be regenerated before
doing anything else...





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

* bug#12410: 24.2.50; `make distclean' runs ./configure before cleaning
  2012-09-11 17:24 ` Glenn Morris
@ 2012-09-11 17:44   ` Bastien
  0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2012-09-11 17:44 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12410

Glenn Morris <rgm@gnu.org> writes:

> It can be, yes. IIUC:
>
> Makefile itself has dependencies on eg the various Makefile.in's.
> If these get updated in the repository, configure has to be run to
> regenerate the Makefiles before doing anything else. For example,
> suppose there was a bug in Makefile.in whereby distclean did `rm -rf /'.
> If a fix was checked in, you'd want Makefile to be regenerated before
> doing anything else...

Got it -- thanks,

-- 
 Bastien





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

end of thread, other threads:[~2012-09-11 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11  9:03 bug#12410: 24.2.50; `make distclean' runs ./configure before cleaning Bastien
2012-09-11 17:24 ` Glenn Morris
2012-09-11 17:44   ` Bastien

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