aboutsummaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@s-direktnet.de>1998-03-17 01:38:12 +0000
committerManfred Hollstein <manfred@s-direktnet.de>1998-03-17 01:38:12 +0000
commitcd068bfc8a498857f29c8353dd2c8a0caf51a8be (patch)
tree265ba4da67393e5a8ca185a833ac4774cf0bb963 /config-ml.in
parentb91e339ab8e90b44fceeba21f08004d37d3f3b7c (diff)
* 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: https://gcc.gnu.org/svn/gcc/trunk@18643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config-ml.in b/config-ml.in
index 527e781e697..2ba21f45ac5 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}