GNU bug report logs - #57771
28.2; ’uninstall’ make target does not remove .eln native compiled files

Previous Next

Package: emacs;

Reported by: Alfredo Finelli <alf <at> computationes.de>

Date: Tue, 13 Sep 2022 14:10:02 UTC

Severity: normal

Found in version 28.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 57771-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alfredo Finelli <alf <at> computationes.de>
Cc: 57771-done <at> debbugs.gnu.org
Subject: Re: bug#57771: 28.2; ’uninstall’ make target
 does not remove .eln native compiled files
Date: Wed, 14 Sep 2022 15:17:44 +0300
> From: Alfredo Finelli <alf <at> computationes.de>
> Cc: 57771 <at> debbugs.gnu.org
> Date: Wed, 14 Sep 2022 09:34:33 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Does the patch below give good results?
> >
> > diff --git a/Makefile.in b/Makefile.in
> > index d288bac..3f811ea 100644
> > --- a/Makefile.in
> > +++ b/Makefile.in
> > @@ -844,7 +844,7 @@ uninstall:
> >  	rm -f "$(DESTDIR)$(includedir)/emacs-module.h"
> >  	$(MAKE) -C lib-src uninstall
> >  	-unset CDPATH; \
> > -	for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do 	\
> > +	for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" "$(ELN_DESTDIR)" ; do 	\
> >  	  if [ -d "$${dir}" ]; then			\
> >  	    case `cd "$${dir}" ; /bin/pwd` in		\
> >  	      "`cd ${srcdir} ; /bin/pwd`"* ) ;;		\
> 
> Thank you for your prompt reply!  After testing it I can confirm that the
> patch solves the problem.

Thanks, installed on the emacs-28 branch, and closing the bug report.




This bug report was last modified 2 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.