unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12412: 24.2.50; `make distclean' does not remove .elc files
@ 2012-09-11  9:08 Bastien
  2012-09-11 10:26 ` Andreas Schwab
  0 siblings, 1 reply; 21+ messages in thread
From: Bastien @ 2012-09-11  9:08 UTC (permalink / raw)
  To: 12412

I ran `make distclean' three times.  The first time it ran
./configure.  The second time it didn't run ./configure.  The
third time it didn't run at all because of the absence of
Makefile.

Each time the lisp/*.elc files are left untouched/undeleted.

I expected them to be deleted -- what am I doing wrong?

Thanks,

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] 21+ messages in thread

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11  9:08 bug#12412: 24.2.50; `make distclean' does not remove .elc files Bastien
@ 2012-09-11 10:26 ` Andreas Schwab
  2012-09-11 12:31   ` Bastien
  0 siblings, 1 reply; 21+ messages in thread
From: Andreas Schwab @ 2012-09-11 10:26 UTC (permalink / raw)
  To: Bastien; +Cc: 12412

distclean does not remove distributed files.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 10:26 ` Andreas Schwab
@ 2012-09-11 12:31   ` Bastien
  2012-09-11 12:43     ` Andreas Schwab
  0 siblings, 1 reply; 21+ messages in thread
From: Bastien @ 2012-09-11 12:31 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12412

Andreas Schwab <schwab@linux-m68k.org> writes:

> distclean does not remove distributed files.

It is hard to guess in the absence of `make help'.

From INSTALL:

  ...

  4. If you need to run the `configure' script more than once (e.g.,
     with some non-default options), always clean the source
     directories before running `configure' again:

		make distclean
		./configure

  ...

  To also remove the files
  that `configure' created (so you can compile Emacs for a different
  configuration), type `make distclean'.

How to remove the .elc files?

What is the difference between `make clean' and `make distclean'?

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 12:31   ` Bastien
@ 2012-09-11 12:43     ` Andreas Schwab
  2012-09-11 13:06       ` Bastien
  0 siblings, 1 reply; 21+ messages in thread
From: Andreas Schwab @ 2012-09-11 12:43 UTC (permalink / raw)
  To: Bastien; +Cc: 12412

Bastien <bzg@altern.org> writes:

> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> distclean does not remove distributed files.
>
> It is hard to guess in the absence of `make help'.

* Note (standards) Standard Targets::

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 12:43     ` Andreas Schwab
@ 2012-09-11 13:06       ` Bastien
  2012-09-11 13:25         ` Andreas Schwab
  2012-09-11 17:06         ` Eli Zaretskii
  0 siblings, 2 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 13:06 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12412

Andreas Schwab <schwab@linux-m68k.org> writes:

> Bastien <bzg@altern.org> writes:
>
>> Andreas Schwab <schwab@linux-m68k.org> writes:
>>
>>> distclean does not remove distributed files.
>>
>> It is hard to guess in the absence of `make help'.
>
> * Note (standards) Standard Targets::

So what I'm looking for is `make maintainer-clean'.

But ̀make help' would still help.

And from the info page above, I infer that the `clean'
and `distclean' targets should remove the .elc files.

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 13:06       ` Bastien
@ 2012-09-11 13:25         ` Andreas Schwab
  2012-09-11 13:31           ` Bastien
  2012-09-11 17:06         ` Eli Zaretskii
  1 sibling, 1 reply; 21+ messages in thread
From: Andreas Schwab @ 2012-09-11 13:25 UTC (permalink / raw)
  To: Bastien; +Cc: 12412

Bastien <bzg@altern.org> writes:

> And from the info page above, I infer that the `clean'
> and `distclean' targets should remove the .elc files.

No, they are distributed.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 13:25         ` Andreas Schwab
@ 2012-09-11 13:31           ` Bastien
  2012-09-11 13:39             ` Andreas Schwab
  2012-09-11 16:02             ` Glenn Morris
  0 siblings, 2 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 13:31 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12412

Andreas Schwab <schwab@linux-m68k.org> writes:

> Bastien <bzg@altern.org> writes:
>
>> And from the info page above, I infer that the `clean'
>> and `distclean' targets should remove the .elc files.
>
> No, they are distributed.

What do you mean by "distributed"?

I'm using the emacs-24 bzr branch.

There is no .elc files here.

After building from that branch, I expect `make distclean'
to remove the .elc files.

I also expect `make clean' to do this, actually.

What is wrong in my expectations here?

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 13:31           ` Bastien
@ 2012-09-11 13:39             ` Andreas Schwab
  2012-09-11 16:02             ` Glenn Morris
  1 sibling, 0 replies; 21+ messages in thread
From: Andreas Schwab @ 2012-09-11 13:39 UTC (permalink / raw)
  To: Bastien; +Cc: 12412

Bastien <bzg@altern.org> writes:

> What do you mean by "distributed"?

$ make dist

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 13:31           ` Bastien
  2012-09-11 13:39             ` Andreas Schwab
@ 2012-09-11 16:02             ` Glenn Morris
  2012-09-11 16:19               ` Bastien
  1 sibling, 1 reply; 21+ messages in thread
From: Glenn Morris @ 2012-09-11 16:02 UTC (permalink / raw)
  To: Bastien; +Cc: 12412, Andreas Schwab

Bastien wrote:

> What do you mean by "distributed"?

Included in release tarfiles. These include several things that the VCS
does not; info files, configure script, elc files, etc. distclean must
not delete these things.

(I don't know why it is such fun to be so terse no-one can understand
you.)





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 16:02             ` Glenn Morris
@ 2012-09-11 16:19               ` Bastien
  2012-09-11 16:23                 ` Glenn Morris
  2012-09-11 17:11                 ` Juanma Barranquero
  0 siblings, 2 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 16:19 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12412, Andreas Schwab

Glenn Morris <rgm@gnu.org> writes:

> Bastien wrote:
>
>> What do you mean by "distributed"?
>
> Included in release tarfiles. These include several things that the VCS
> does not; info files, configure script, elc files, etc. distclean must
> not delete these things.

Okay, I do understand now.

Thanks,

> (I don't know why it is such fun to be so terse no-one can understand
> you.)

I guess this "you" is for Andreas, right?  Because this is the exact
same impression I get from Andreas messages.

I tried to ask something clearly, got extremely short answers, which
gives me the impression that I'm stupid.  Being stupid, I don't want to
bother anyone with more than short sentences, and you get this kinda
silly "conversation".

Anyway, thanks for the answer.

I continue to think having a ̀make help' would spare everyone's time 
by answering such questions in advance.

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 16:19               ` Bastien
@ 2012-09-11 16:23                 ` Glenn Morris
  2012-09-11 17:11                 ` Juanma Barranquero
  1 sibling, 0 replies; 21+ messages in thread
From: Glenn Morris @ 2012-09-11 16:23 UTC (permalink / raw)
  To: 12412-done


(Yes, "You" did not mean "you, Bastien" :) )

Bastien wrote:

> I continue to think having a ̀make help' would spare everyone's time 
> by answering such questions in advance.

Since there is a separate report about that I'll close this one.





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 13:06       ` Bastien
  2012-09-11 13:25         ` Andreas Schwab
@ 2012-09-11 17:06         ` Eli Zaretskii
  2012-09-11 17:47           ` Bastien
  1 sibling, 1 reply; 21+ messages in thread
From: Eli Zaretskii @ 2012-09-11 17:06 UTC (permalink / raw)
  To: Bastien; +Cc: 12412, schwab

> From: Bastien <bzg@altern.org>
> Date: Tue, 11 Sep 2012 15:06:38 +0200
> Cc: 12412@debbugs.gnu.org
> 
> So what I'm looking for is `make maintainer-clean'.

No, I think you are looking for "make bootstrap".





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 16:19               ` Bastien
  2012-09-11 16:23                 ` Glenn Morris
@ 2012-09-11 17:11                 ` Juanma Barranquero
  2012-09-11 17:45                   ` Bastien
  2012-09-11 18:09                   ` Stefan Monnier
  1 sibling, 2 replies; 21+ messages in thread
From: Juanma Barranquero @ 2012-09-11 17:11 UTC (permalink / raw)
  To: Bastien; +Cc: Andreas Schwab, 12412

On Tue, Sep 11, 2012 at 6:19 PM, Bastien <bzg@altern.org> wrote:

> I guess this "you" is for Andreas, right?  Because this is the exact
> same impression I get from Andreas messages.
>
> I tried to ask something clearly, got extremely short answers, which
> gives me the impression that I'm stupid.  Being stupid, I don't want to
> bother anyone with more than short sentences, and you get this kinda
> silly "conversation".

You could file a wishlist bug report, "Andreas' output hard to
understand, please add --verbose option".

    Juanma





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:11                 ` Juanma Barranquero
@ 2012-09-11 17:45                   ` Bastien
  2012-09-11 17:46                     ` Juanma Barranquero
  2012-09-11 18:09                   ` Stefan Monnier
  1 sibling, 1 reply; 21+ messages in thread
From: Bastien @ 2012-09-11 17:45 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: 12412, Andreas Schwab

Juanma Barranquero <lekktu@gmail.com> writes:

> On Tue, Sep 11, 2012 at 6:19 PM, Bastien <bzg@altern.org> wrote:
>
>> I guess this "you" is for Andreas, right?  Because this is the exact
>> same impression I get from Andreas messages.
>>
>> I tried to ask something clearly, got extremely short answers, which
>> gives me the impression that I'm stupid.  Being stupid, I don't want to
>> bother anyone with more than short sentences, and you get this kinda
>> silly "conversation".
>
> You could file a wishlist bug report, "Andreas' output hard to
> understand, please add --verbose option".

:)

That said, trying to turn --verbose off is fun from time to time.

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:45                   ` Bastien
@ 2012-09-11 17:46                     ` Juanma Barranquero
  0 siblings, 0 replies; 21+ messages in thread
From: Juanma Barranquero @ 2012-09-11 17:46 UTC (permalink / raw)
  To: Bastien; +Cc: 12412, Andreas Schwab

On Tue, Sep 11, 2012 at 7:45 PM, Bastien <bzg@altern.org> wrote:

> That said, trying to turn --verbose off is fun from time to time.

Yep.

    Juanma





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:06         ` Eli Zaretskii
@ 2012-09-11 17:47           ` Bastien
  2012-09-11 18:18             ` Eli Zaretskii
  2012-09-11 20:31             ` Stefan Monnier
  0 siblings, 2 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 17:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12412, schwab

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Bastien <bzg@altern.org>
>> Date: Tue, 11 Sep 2012 15:06:38 +0200
>> Cc: 12412@debbugs.gnu.org
>> 
>> So what I'm looking for is `make maintainer-clean'.
>
> No, I think you are looking for "make bootstrap".

I'm really trying to get rid of the .elc files produced by 
compiling Emacs from a fresh bzr update (not a distribution.)

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:11                 ` Juanma Barranquero
  2012-09-11 17:45                   ` Bastien
@ 2012-09-11 18:09                   ` Stefan Monnier
  1 sibling, 0 replies; 21+ messages in thread
From: Stefan Monnier @ 2012-09-11 18:09 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: Bastien, Andreas Schwab, 12412

> You could file a wishlist bug report, "Andreas' output hard to
> understand, please add --verbose option".

I think this would need to be send to Andreas's bug tracker, because it's
not specific to Emacs's use of Andreas.

BTW, I think it's an appropriate moment to mention that while I do get
occasionally frustrated with some people here (Andreas's one liners and
Drew's many liners come to mind), I really do appreciate all
your contributions.


        Stefan






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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:47           ` Bastien
@ 2012-09-11 18:18             ` Eli Zaretskii
  2012-09-11 18:34               ` Bastien
  2012-09-11 20:31             ` Stefan Monnier
  1 sibling, 1 reply; 21+ messages in thread
From: Eli Zaretskii @ 2012-09-11 18:18 UTC (permalink / raw)
  To: Bastien; +Cc: 12412, schwab

> From: Bastien <bzg@altern.org>
> Cc: 12412@debbugs.gnu.org,  schwab@linux-m68k.org
> Date: Tue, 11 Sep 2012 19:47:02 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Bastien <bzg@altern.org>
> >> Date: Tue, 11 Sep 2012 15:06:38 +0200
> >> Cc: 12412@debbugs.gnu.org
> >> 
> >> So what I'm looking for is `make maintainer-clean'.
> >
> > No, I think you are looking for "make bootstrap".
> 
> I'm really trying to get rid of the .elc files produced by 
> compiling Emacs from a fresh bzr update (not a distribution.)

You mean, delete them, but not re-create them?  Why would you need a
tree without *.elc files?





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 18:18             ` Eli Zaretskii
@ 2012-09-11 18:34               ` Bastien
  0 siblings, 0 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 18:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 12412, schwab

Eli Zaretskii <eliz@gnu.org> writes:

> You mean, delete them, but not re-create them?  Why would you need a
> tree without *.elc files?

When editing a .el file from the bzr branch, I sometimes byte-compile 
it to check compilation warnings.  Since I prefer to keep the .el file
in sync with the .elc file, I delete the newly created .elc file by
hand.

So in general, I prefer to work in a directory with no .elc file.

But removing by hand is okay.

-- 
 Bastien





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 17:47           ` Bastien
  2012-09-11 18:18             ` Eli Zaretskii
@ 2012-09-11 20:31             ` Stefan Monnier
  2012-09-11 20:38               ` Bastien
  1 sibling, 1 reply; 21+ messages in thread
From: Stefan Monnier @ 2012-09-11 20:31 UTC (permalink / raw)
  To: Bastien; +Cc: 12412, schwab

>> No, I think you are looking for "make bootstrap".
> I'm really trying to get rid of the .elc files produced by 
> compiling Emacs from a fresh bzr update (not a distribution.)

I think you want "bootstrap-clean", then: bootstrap is basically "make
bootstrap-clean; make".


        Stefan





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

* bug#12412: 24.2.50; `make distclean' does not remove .elc files
  2012-09-11 20:31             ` Stefan Monnier
@ 2012-09-11 20:38               ` Bastien
  0 siblings, 0 replies; 21+ messages in thread
From: Bastien @ 2012-09-11 20:38 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 12412, schwab

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

>>> No, I think you are looking for "make bootstrap".
>> I'm really trying to get rid of the .elc files produced by 
>> compiling Emacs from a fresh bzr update (not a distribution.)
>
> I think you want "bootstrap-clean", then: bootstrap is basically "make
> bootstrap-clean; make".

Yes, that does it, thanks!

-- 
 Bastien





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

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

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11  9:08 bug#12412: 24.2.50; `make distclean' does not remove .elc files Bastien
2012-09-11 10:26 ` Andreas Schwab
2012-09-11 12:31   ` Bastien
2012-09-11 12:43     ` Andreas Schwab
2012-09-11 13:06       ` Bastien
2012-09-11 13:25         ` Andreas Schwab
2012-09-11 13:31           ` Bastien
2012-09-11 13:39             ` Andreas Schwab
2012-09-11 16:02             ` Glenn Morris
2012-09-11 16:19               ` Bastien
2012-09-11 16:23                 ` Glenn Morris
2012-09-11 17:11                 ` Juanma Barranquero
2012-09-11 17:45                   ` Bastien
2012-09-11 17:46                     ` Juanma Barranquero
2012-09-11 18:09                   ` Stefan Monnier
2012-09-11 17:06         ` Eli Zaretskii
2012-09-11 17:47           ` Bastien
2012-09-11 18:18             ` Eli Zaretskii
2012-09-11 18:34               ` Bastien
2012-09-11 20:31             ` Stefan Monnier
2012-09-11 20:38               ` 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).