unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: "Óscar Fuentes" <ofv@wanadoo.es>, "Eli Zaretskii" <eliz@gnu.org>,
	"Teemu Likonen" <tlikonen@iki.fi>,
	lokedhs@gmail.com, "Emacs developers" <emacs-devel@gnu.org>
Subject: Re: A target that's even more bootstrap?
Date: Wed, 19 Jun 2019 22:19:05 +0200	[thread overview]
Message-ID: <m3imt12urq.fsf@gnus.org> (raw)
In-Reply-To: <CAAeL0SRbgNLaV52go4c4CqKyBPPGrxdp+j5Kqo8hyfscbfxcsg@mail.gmail.com> (Juanma Barranquero's message of "Wed, 19 Jun 2019 22:06:34 +0200")

Juanma Barranquero <lekktu@gmail.com> writes:

> Still, it should be possible to use "git clean -fdx" (or perhaps -fdX)
> if we detect we're in a git checkout and git's available, and default
> to target-jumping around the makefiles otherwise.

A sort of "make git-checkout-clean" or something...

In the past, some of the most difficult build error situations to get
out of have been the result of rearranging some build code, and then the
new code choking on some build artefacts from the previous setups.

The Makefiles in these cases didn't know about these old build
artefacts, so they didn't delete them.

In that case, a git-based "blow out" target would help.

Of course, a different solution would be to have the "extraclean" bits
of the makefile still know about these old artefacts...  But then it's a
question of how many years should we still do an "rm -f some-dir" on
something that's not there.  I guess we could mark these bits with,
like, "OBSOLETE DIR SINCE 23.2".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2019-06-19 20:19 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18 11:22 A target that's even more bootstrap? Lars Ingebrigtsen
2019-06-18 12:16 ` Andreas Schwab
2019-06-18 12:27   ` Lars Ingebrigtsen
2019-06-18 12:53 ` Phillip Lord
2019-06-18 13:20   ` Stefan Monnier
2019-06-18 13:28     ` Lars Ingebrigtsen
2019-06-18 16:03   ` Eli Zaretskii
2019-06-19  9:29     ` Phillip Lord
2019-06-19 15:21       ` Eli Zaretskii
2019-06-19 13:15     ` Lars Ingebrigtsen
2019-06-19 14:00       ` Andreas Schwab
2019-06-19 15:28       ` Eli Zaretskii
2019-06-19 15:32         ` Lars Ingebrigtsen
2019-06-18 15:53 ` Eli Zaretskii
2019-06-18 15:58   ` Lars Ingebrigtsen
2019-06-18 16:54     ` Eli Zaretskii
2019-06-18 17:47     ` Andy Moreton
2019-06-18 19:22       ` Óscar Fuentes
2019-06-19  4:32         ` Elias Mårtenson
2019-06-19  5:29           ` Teemu Likonen
2019-06-19 15:12             ` Eli Zaretskii
2019-06-19 20:06               ` Juanma Barranquero
2019-06-19 20:19                 ` Lars Ingebrigtsen [this message]
2019-06-19 20:26                 ` Óscar Fuentes
2019-06-20  2:30                 ` Eli Zaretskii
2019-06-19 11:53           ` Lars Ingebrigtsen
2019-06-19 12:33         ` Andy Moreton
2019-06-19 12:45           ` Óscar Fuentes
2019-06-19 13:35             ` Juanma Barranquero
2019-06-19 13:46               ` Lars Ingebrigtsen
2019-06-19 15:34                 ` Eli Zaretskii
2019-06-19 15:43                   ` Lars Ingebrigtsen
2019-06-19 15:48                     ` Eli Zaretskii
2019-06-19 16:12                       ` Lars Ingebrigtsen
2019-06-19 17:03                         ` Eli Zaretskii
2019-06-19 17:29                           ` Lars Ingebrigtsen
2019-06-19 18:18                             ` Eli Zaretskii
2019-06-20 11:32                               ` Lars Ingebrigtsen
2019-06-20 13:06                                 ` Eli Zaretskii
2019-06-20 14:23                                   ` Lars Ingebrigtsen
2019-06-20 15:10                                     ` Lars Ingebrigtsen
2019-06-20 16:29                                       ` Eli Zaretskii
2019-06-21 10:51                                         ` Lars Ingebrigtsen
2019-06-21 22:03                                           ` Paul Eggert
2019-06-23  2:48                                             ` Richard Stallman
2019-06-20 16:23                                     ` Eli Zaretskii
2019-06-20 16:27                                       ` Lars Ingebrigtsen
2019-06-20 16:46                                         ` Eli Zaretskii
2019-06-20 16:47                                           ` Lars Ingebrigtsen
2019-06-20 18:24                                             ` Paul Eggert
2019-06-19 15:29             ` Phillip Lord
2019-06-19 15:59               ` Óscar Fuentes
2019-06-19 16:18                 ` Stefan Monnier
2019-06-19 16:35                   ` Óscar Fuentes
2019-06-19 17:03                     ` Out of tree builds [was Re: A target that's even more bootstrap?] Glenn Morris
2019-06-19 17:30                       ` Óscar Fuentes
2019-06-19 17:13                     ` A target that's even more bootstrap? Stefan Monnier
2019-06-19 17:43                       ` Óscar Fuentes
2019-06-20 13:49                   ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3imt12urq.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=lokedhs@gmail.com \
    --cc=ofv@wanadoo.es \
    --cc=tlikonen@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).