From: Manfred Hollstein Date: Tue, 17 Mar 1998 01:38:12 +0000 (+0000) Subject: config-ml.in: After building symlink tree call make distclean if... X-Git-Tag: prereleases/egcs-1.1-prerelease~2074 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88838149c7dbf21e00cfcfc6252d1063b421a7c4;p=thirdparty%2Fgcc.git config-ml.in: After building symlink tree call make distclean if... � * 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 --- diff --git a/config-ml.in b/config-ml.in index 527e781e697b..2ba21f45ac5d 100644 --- a/config-ml.in +++ b/config-ml.in @@ -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}