GNU bug report logs - #5720
24.0.50; make uninstall removes some files under lib-src if $(DESTDIR)${archlibdir} is not exist

Previous Next

Package: emacs;

Reported by: Tetsurou Okazaki <okazaki <at> be.to>

Date: Mon, 15 Mar 2010 04:41:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tetsurou Okazaki <okazaki <at> be.to>
To: 5720 <at> debbugs.gnu.org
Cc: okazaki <at> be.to
Subject: bug#5720: 24.0.50; make uninstall removes some files under lib-src if $(DESTDIR)${archlibdir} is not exist
Date: Mon, 15 Mar 2010 13:40:12 +0900
[Message part 1 (text/plain, inline)]
Running `make uninstall' deletes some script files under lib-src
when a corresponding $(DESTDIR)${archlibdir} is not exist, since
the uninstall rule does not check the status of `cd $(DESTDIR)${archlibdir}'.

To reproduce this condition:

  extract or check out the emacs source tree at the machine Emacs is not installed
  or
  update the source tree until `emacs-version' is updated to the one not installed yet

  then

  % ./configure
  % make uninstall


Please apply the attached patch to fix this.
It also avoids `make uninstall' stops when `cd $(DESTDIR)${archlibdir}' fails.


[emacs-uninstall-fix.diff (application/octet-stream, attachment)]

This bug report was last modified 15 years and 126 days ago.

Previous Next


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