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: Binutils 2.17 makefile problem


On Thu, Sep 21, 2006 at 11:50:25AM +0100, Cownie, James H wrote:
> 
> "make distclean" leaves a config.cache file in the intl directory.
> 
> As a result tarring up the sources after building on one system, doing
> make distclean, installing on another system and configuring fails to do
> the right thing.
> 
> Should be easy to fix, I imagine.

Applying as obvious to gcc mainline.  I assume this will make it over
to binutils mainline via DJ's script.  If not, I'll apply it there too.

intl/ChangeLog
2006-09-27  Alan Modra  <amodra@bigpond.net.au>

	* Makefile.in (distclean): Delete config files.

Index: intl/Makefile.in
===================================================================
--- intl/Makefile.in	(revision 117249)
+++ intl/Makefile.in	(working copy)
@@ -186,6 +186,7 @@
 clean: mostlyclean
 
 distclean: clean
+	rm -f config.status config.cache config.log config.intl config.h
 	rm -f Makefile ID TAGS
 
 maintainer-clean: distclean
@@ -202,7 +203,7 @@
 
 config.intl: $(srcdir)/config.intl.in config.status
 	$(SHELL) ./config.status config.intl
-	
+
 config.status: $(srcdir)/configure
 	$(SHELL) ./config.status --recheck
 
@@ -231,7 +232,6 @@
 $(srcdir)/config.h.in: @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/configure.ac
 	cd $(srcdir) && $(AUTOHEADER)
 	-rm -f stamp-h1
-	
 
 # Tell versions [3.59,3.63) of GNU make not to export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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