This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make distclean can not remove intl/config.cache


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]