]> www.ginac.de Git - cln.git/commitdiff
If a directory doesn't exist, fail instead of doing infinite recursion.
authorBruno Haible <bruno@clisp.org>
Fri, 10 Jun 2005 16:16:33 +0000 (16:16 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 10 Jun 2005 16:16:33 +0000 (16:16 +0000)
ChangeLog
Makefile.in

index 3ba3ba397b1b54bd9aba25f2768691736dcee4c5..f1902487853b4464a21b586b61d88889fe854057 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Don't enter nonexisting directories.
+
 2005-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Speed up the linking step
index a3b43dffed6dbff5c259e294438ed5c82120a94f..6e68da9f5a584b9441d87eb78b75fe56b710d656 100644 (file)
@@ -30,47 +30,47 @@ INSTALL_DATA = @INSTALL_DATA@
 SHELL = /bin/sh
 
 all : force
-       cd @subdir@; $(MAKE) all
+       cd @subdir@ && $(MAKE) all
 
 install : installdirs force
-       cd @subdir@; $(MAKE) install
+       cd @subdir@ && $(MAKE) install
        $(INSTALL_SCRIPT) cln-config $(DESTDIR)$(bindir)/cln-config
        $(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1
        $(INSTALL_DATA) ${srcdir}/cln.m4 ${DESTDIR}${datadir}/aclocal/cln.m4
        $(INSTALL_DATA) cln.pc $(DESTDIR)$(libdir)/pkgconfig/cln.pc
 
 installdirs : force
-       cd @subdir@; $(MAKE) installdirs
+       cd @subdir@ && $(MAKE) installdirs
        $(MKDIR) $(DESTDIR)$(mandir)/man1
        $(MKDIR) $(DESTDIR)$(datadir)/aclocal
        $(MKDIR) $(DESTDIR)$(bindir)
        $(MKDIR) $(DESTDIR)$(libdir)/pkgconfig
 
 uninstall : force
-       cd @subdir@; $(MAKE) uninstall
+       cd @subdir@ && $(MAKE) uninstall
        $(RM) $(DESTDIR)$(bindir)/cln-config
        $(RM) $(DESTDIR)$(mandir)/man1/cln-config.1
        $(RM) $(DESTDIR)$(datadir)/aclocal/cln.m4
        $(RM) $(DESTDIR)$(libdir)/pkgconfig/cln.pc
 
 check : force
-       cd @subdir@; $(MAKE) check
+       cd @subdir@ && $(MAKE) check
 
 mostlyclean : force
-       cd @subdir@; $(MAKE) mostlyclean
+       cd @subdir@ && $(MAKE) mostlyclean
 
 clean : force
-       cd @subdir@; $(MAKE) clean
+       cd @subdir@ && $(MAKE) clean
 
 distclean : force
-       cd @subdir@; if test -f Makefile; then $(MAKE) distclean; fi
+       cd @subdir@ && if test -f Makefile; then $(MAKE) distclean; fi
        $(RM) config.status config.log config.cache Makefile
        $(RM) cln-config cln-config.1 cln.pc
        $(RM) libtool
        $(RM) include/cln/config.h include/cln/intparam.h include/cln/floatparam.h src/base/cl_base_config.h src/base/cl_gmpconfig.h src/float/cl_float_config.h src/timing/cl_t_config.h
 
 maintainer-clean : force
-       cd @subdir@; if test -f Makefile; then $(MAKE) maintainer-clean; fi
+       cd @subdir@ && if test -f Makefile; then $(MAKE) maintainer-clean; fi
        $(RM) config.status config.log config.cache Makefile
        $(RM) cln-config cln-config.1 cln.spec cln.pc
        $(RM) libtool