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: Thu, 20 Jun 2019 05:30:44 +0300

> From: Juanma Barranquero <address@hidden>
> Date: Wed, 19 Jun 2019 22:06:34 +0200
> Cc: Teemu Likonen <address@hidden>, Óscar Fuentes <address@hidden>, 
>       address@hidden, Emacs developers <address@hidden>
> 
> > > Probably the same but a bit less violent is "git clean -fdx" (maybe
> > > first with "--dry-run").
> >
> > These targets need to do their job even when Git is not around, or the
> > source tree has no history data, so we cannot rely on Git for this
> > matter.
> 
> 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.

There should be no need for that, as we ought to know which generated
files should be removed.

And using Git runs the risk of deleting files unrelated to the build
that the user may wish to keep.



reply via email to

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