diff options
author | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-17 01:38:12 +0000 |
---|---|---|
committer | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-17 01:38:12 +0000 |
commit | 88838149c7dbf21e00cfcfc6252d1063b421a7c4 (patch) | |
tree | 265ba4da67393e5a8ca185a833ac4774cf0bb963 | |
parent | 2d4a055846de842a79d66e4cf838546568647433 (diff) | |
download | gcc-88838149c7dbf21e00cfcfc6252d1063b421a7c4.zip gcc-88838149c7dbf21e00cfcfc6252d1063b421a7c4.tar.gz gcc-88838149c7dbf21e00cfcfc6252d1063b421a7c4.tar.bz2 |
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
-rw-r--r-- | config-ml.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config-ml.in b/config-ml.in index 527e781..2ba21f4 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} |