]> gcc.gnu.org Git - gcc.git/commitdiff
config-ml.in: After building symlink tree call make distclean if...
authorManfred Hollstein <manfred@gcc.gnu.org>
Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)
committerManfred Hollstein <manfred@gcc.gnu.org>
Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)

* config-ml.in: After building symlink tree call make distclean
if a Makefile got linked into ${ml_dir}/${ml_libdir}; this happens
to be the case for libiberty.
* Makefile.in (clean, distclean): Add 'info' explicitly.

From-SVN: r18643

config-ml.in

index 527e781e697b37029859e018d14833d67702b5b8..2ba21f45ac5d46b883ad7a857f37a400548454c0 100644 (file)
@@ -564,6 +564,13 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
       fi
       (cd ${ml_dir}/${ml_libdir};
        ../${dotdot}${ml_unsubdir}symlink-tree ../${dotdot}${ml_unsubdir}${ml_libdir} "")
+      if [ -f ${ml_dir}/${ml_libdir}/Makefile ]; then
+       if [ x"${MAKE}" = x ]; then
+         (cd ${ml_dir}/${ml_libdir}; make distclean)
+       else
+         (cd ${ml_dir}/${ml_libdir}; ${MAKE} distclean)
+       fi
+      fi
       ml_newsrcdir="."
       ml_srcdiroption=
       multisrctop=${dotdot}
This page took 0.056887 seconds and 5 git commands to generate.