summaryrefslogtreecommitdiffstats
path: root/config-ml.in
diff options
context:
space:
mode:
authormanfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-17 01:38:12 +0000
committermanfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4>1998-03-17 01:38:12 +0000
commit1f7295a5a28af740dc3a2eb86c25d6efe05df6b7 (patch)
tree265ba4da67393e5a8ca185a833ac4774cf0bb963 /config-ml.in
parent69d10d87e2b35bb5197875a6f3f1d172c74e77da (diff)
downloadppe42-gcc-1f7295a5a28af740dc3a2eb86c25d6efe05df6b7.tar.gz
ppe42-gcc-1f7295a5a28af740dc3a2eb86c25d6efe05df6b7.zip
* 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
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}
OpenPOWER on IntegriCloud