`make uninstall' fix (Bug#5620).
authorChong Yidong <cyd@stupidchicken.com>
Fri, 19 Mar 2010 15:27:49 +0000 (11:27 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 19 Mar 2010 15:27:49 +0000 (11:27 -0400)
* Makefile.in (uninstall): Handle the case where archlibdir does
not exist.  (Bug#5720)

lib-src/ChangeLog
lib-src/Makefile.in

index 77b227c..caa7f3c 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-19  Tetsurou Okazaki  <okazaki@be.to>  (tiny change)
+
+       * Makefile.in (uninstall): Handle the case where archlibdir does
+       not exist.  (Bug#5720)
+
 2010-02-20  Kevin Ryde  <user42@zip.com.au>
 
        * etags.c (Scheme_functions): Don't loop past a null character
index b1344c8..0353c44 100644 (file)
@@ -338,7 +338,7 @@ uninstall:
        for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \
          rm -f $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \
        done)
-       (cd $(DESTDIR)${archlibdir}; \
+       (cd $(DESTDIR)${archlibdir} && \
         rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
 
 mostlyclean: