diff options
author | Tetsurou Okazaki <okazaki@be.to> | 2010-03-17 22:17:11 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-03-17 22:17:11 -0700 |
commit | f8388570302aad60379a3275fa81bfe475e76252 (patch) | |
tree | 078f75db142111e434dbcd7f8b849105f971e0e5 /lib-src/Makefile.in | |
parent | 04525749772d5a7d0c6ca0ea8b36104dc25a3e18 (diff) | |
download | emacs-f8388570302aad60379a3275fa81bfe475e76252.tar.gz |
Close bug#5720.
* Makefile.in, lib-src/Makefile.in (uninstall): Handle the case where
archlibdir does not exist.
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r-- | lib-src/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index b1344c8b010..8a147038a4c 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -338,8 +338,10 @@ uninstall: for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ rm -f $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ done) - (cd $(DESTDIR)${archlibdir}; \ - rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) + if [ -d $(DESTDIR)${archlibdir} ]; then \ + (cd $(DESTDIR)${archlibdir} && \ + rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) \ + fi mostlyclean: -rm -f core *.o getopt.h getopt.h-t |