This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH] Clean generated headers with realclean


On Tue, Apr 24, 2012 at 09:58:08AM +0200, Andreas Jaeger wrote:
> 
> Running make realclean, I noticed a couple of files lying around
> including many .h files that were generated as part of
> gen-as-const-headers.
> 
> Fixed with the appended patch, tested with running make realclean on
> Linux/x86-64.

It seems that the patch does not apply cleanly.  This one ought to:

--- libc/Makerules.mp	2012-04-24 10:22:22.384781967 +0200
+++ libc/Makerules	2012-04-24 10:22:42.571820481 +0200
@@ -1330,6 +1330,7 @@ common-clean: common-mostlyclean
 	-rm -f $(objpfx)*.d $(objpfx)*.dt
 	-rm -fr $(addprefix $(objpfx),$(generated-dirs))
 	-rm -f $(addprefix $(common-objpfx),$(common-generated))
+	-rm -f $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
 
 # Produce a file `stubs' which contains `#define __stub_FUNCTION'
 # for each function which is a stub.  We grovel over all the .d files

	Marek


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