OSDN Git Service

authormanfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Mar 1998 01:38:12 +0000 (01:38 +0000)
committermanfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18643 138bc75d-0d04-0410-961f-82ee72b054a4

config-ml.in

index 527e781..2ba21f4 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}