From 1f7295a5a28af740dc3a2eb86c25d6efe05df6b7 Mon Sep 17 00:00:00 2001 From: manfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue, 17 Mar 1998 01:38:12 +0000 Subject: [PATCH] =?UTF-8?q?=EF=BF=BD=20=09*=20config-ml.in:=20After=20buil?= =?UTF-8?q?ding=20symlink=20tree=20call=20make=20distclean=20=09if=20a=20M?= =?UTF-8?q?akefile=20got=20linked=20into=20${ml=5Fdir}/${ml=5Flibdir};=20t?= =?UTF-8?q?his=20happens=20=09to=20be=20the=20case=20for=20libiberty.=20?= =?UTF-8?q?=09*=20Makefile.in=20(clean,=20distclean):=20Add=20'info'=20exp?= =?UTF-8?q?licitly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18643 138bc75d-0d04-0410-961f-82ee72b054a4 --- config-ml.in | 7 +++++++ 1 file changed, 7 insertions(+) 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} -- GitLab