This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: make distclean can not remove intl/config.cache
- From: Yao Qi <qiyaoltc at cn dot ibm dot com>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: Yao Qi <qiyaoltc at cn dot ibm dot com>, gcc <gcc at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Sep 2005 14:04:06 +0800
- Subject: Re: make distclean can not remove intl/config.cache
- References: <4330EE6C.2080805@cn.ltcfwd.linux.ibm.com> <m3aci6utj4.fsf@gossamer.airs.com>
Ian Lance Taylor wrote:
Sounds like a bug.
May I code a patch on this?
Yes, please.
One way to fix this would be to convert those directories to use
automake, but it would be fine to just add config.cache to the list in
the distclean targets in {intl,fixincludes}/Makefile.in.
Ian
Thanks for your comments. Here is a patch for it.
2005-09-22 Yao Qi <qiyaoltc@cn.ibm.com>
* gcc/intl/Makefile.in (distclean): Add config.cache.
* gcc/fixincludes/Makefile.in (distclean): Likewise.
Index: gcc/fixincludes/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/fixincludes/Makefile.in,v
retrieving revision 1.11
diff -c -r1.11 Makefile.in
*** gcc/fixincludes/Makefile.in 15 Aug 2005 00:50:43 -0000 1.11
--- gcc/fixincludes/Makefile.in 22 Sep 2005 05:18:28 -0000
***************
*** 134,140 ****
rm -f mkheaders mkheaders.almost
distclean: clean
! rm -f Makefile config.h config.log config.status stamp-h
maintainer-clean: distclean
rm -f $(srcdir)/fixincl.x
--- 134,140 ----
rm -f mkheaders mkheaders.almost
distclean: clean
! rm -f Makefile config.h config.log config.status stamp-h config.cache
maintainer-clean: distclean
rm -f $(srcdir)/fixincl.x
Index: gcc/intl/Makefile.in
===================================================================
RCS file: /cvsroot/gcc/gcc/intl/Makefile.in,v
retrieving revision 1.5
diff -c -r1.5 Makefile.in
*** gcc/intl/Makefile.in 13 May 2005 08:03:46 -0000 1.5
--- gcc/intl/Makefile.in 22 Sep 2005 05:51:01 -0000
***************
*** 182,188 ****
clean: mostlyclean
distclean: clean
! rm -f Makefile ID TAGS
maintainer-clean: distclean
--- 182,188 ----
clean: mostlyclean
distclean: clean
! rm -f Makefile ID TAGS config.status config.cache config.log
maintainer-clean: distclean
--
Regards, Yao
Yao Qi