GNU bug report logs -
#57771
28.2; ’uninstall’ make target does not remove .eln native compiled files
Previous Next
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
View this message in rfc822 format
> From: Alfredo Finelli <alf <at> computationes.de>
> Date: Tue, 13 Sep 2022 10:51:12 +0200
>
> While building emacs to upgrade it from version 28.1 to 28.2 I noticed
> that the "uninstall" make target leaves native compiled .eln files behind
> in the installation target directory. The same happens with the
> development version 29 from git, altough with less .eln files.
Thank you for your report.
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`"* ) ;; \
This bug report was last modified 2 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.