emacs-devel
[Top][All Lists]
Advanced

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

Re: Build failure with --with-x-toolkit=no


From: tomas
Subject: Re: Build failure with --with-x-toolkit=no
Date: Sat, 30 Mar 2024 10:54:08 +0100

On Sat, Mar 30, 2024 at 10:36:28AM +0100, martin rudalics wrote:
> > You could then do "git -fdxn", which would show you the files that
> > perhaps need to be removed, without actually removing them.
> 
> When I do git clean -fdxn it, probably correctly, does not descend into
> the build directories but just tells me that it would remove them as a
> whole (like the info directory, for example).
> 
> The great problem I never managed to fix appropriately is that when
> removing a build directory as a whole, I also remove previous versions
> of emacs builds which, however, I occasionally need to track down in
> which version an error appeared first.  So I'd need a regexp to tell git
> clean which files it should delete for making builds succeed cleanly and
> which ones to keep for future forensics.  Having executables and object
> files in the same directory is not helpful in this regard.

There's the option -e <pattern> to git-clean, which seems to do precisely
what you want. See also the -i (interactive) option, which lets you test
drive things.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

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