[Top][All Lists]

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

Re: A target that's even more bootstrap?

From: Lars Ingebrigtsen
Subject: Re: A target that's even more bootstrap?
Date: Wed, 19 Jun 2019 13:53:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Elias Mårtenson <address@hidden> writes:

> Whenever I rebuild, I do:
> rm -fr *
> git reset --hard
> ./autogen.sh
> I've resorted to doing that every time I rebuild a new version, as all other
> options have at one point or another caused issues.

Yeah, it's a pain.  If you pull down a fresh "git clone" of Emacs, it
always works, but if you've done a "git pull" for a while, you
invariably end up in a situation where none of the sanctioned methods
for building Emacs works and most users seem to just remove the entire
tree and pull down a new copy.  Which is slow and annoying.

Relying on git to get to a clean state (like you're doing here) sounds
like a possible idea.  Perhaps a target that removes all non-tracked
files?  However, that sounds rather destructive: The user may have other
stuff in there, and having a target that's that dangerous is perhaps

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

reply via email to

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