emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A target that's even more bootstrap?


From: Eli Zaretskii
Subject: Re: A target that's even more bootstrap?
Date: Wed, 19 Jun 2019 18:48:34 +0300

> From: Lars Ingebrigtsen <address@hidden>
> Cc: address@hidden
> Date: Wed, 19 Jun 2019 17:43:41 +0200
> 
> > Can you tell what it fails to do that requires to run autogen.sh?
> 
> OK, there were more failure modes here than I was aware of...
> 
> make extraclean bootstrap
> 
> just plain fails, ending with
> 
> rm -f config-tmp-*
> rm -f ./*~ \#*
> make -C src bootstrap-clean
> make[1]: Entering directory '/home/larsi/src/emacs/trunk/src'
> make[1]: *** No rule to make target 'bootstrap-clean'.  Stop.
> make[1]: Leaving directory '/home/larsi/src/emacs/trunk/src'
> Makefile:891: recipe for target 'src_bootstrap-clean' failed
> make: *** [src_bootstrap-clean] Error 2
> 
> make extraclean; make bootstrap
> 
> does not fail, but extraclean does not remove the .elc files, and
> whatever it does also stops "make bootstrap" from removing the .elc
> files, which is rather surprising.
> 
> Running the autogen.sh; ./configure in between these two makes enables
> bootstrap to delete the .elc files.

We should need to do only this:

  make extraclean
  make

There should be no need to say "make bootstrap", precisely as it isn't
needed in a freshly cloned repository.

So I understand one thing extraclean doesn't do is remove the *.elc
files; let's add that.  What else?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]