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
This commit is contained in:
Manfred Hollstein 1998-03-17 01:38:12 +00:00
parent 2d4a055846
commit 88838149c7
1 changed files with 7 additions and 0 deletions

View 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}