Close bug#5720.

* Makefile.in, lib-src/Makefile.in (uninstall): Handle the case where
archlibdir does not exist.
This commit is contained in:
Tetsurou Okazaki 2010-03-17 22:17:11 -07:00 committed by Glenn Morris
parent 0452574977
commit f838857030
4 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
* Makefile.in (uninstall): Handle the case where archlibdir does not
exist. (Bug#5720)
2010-03-12 Eli Zaretskii <eliz@gnu.org>
These changes remove termcap.c from the build on Posix platforms.

View file

@ -667,7 +667,9 @@ uninstall:
esac ; \
fi ; \
done
(cd $(DESTDIR)${archlibdir} && rm -f fns-*)
if [ -d $(DESTDIR)${archlibdir} ]; then \
(cd $(DESTDIR)${archlibdir} && rm -f fns-*) \
fi
-rm -rf $(DESTDIR)${libexecdir}/emacs/${version}
(cd $(DESTDIR)${infodir} && \
for elt in $(INFO_FILES); do \

View file

@ -1,3 +1,8 @@
2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
* Makefile.in (uninstall): Handle the case where archlibdir does not
exist. (Bug#5720)
2010-03-10 Chong Yidong <cyd@stupidchicken.com>
* Branch for 23.2.

View file

@ -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