This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Clean generated headers with realclean
- From: Marek Polacek <polacek at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 24 Apr 2012 10:26:03 +0200
- Subject: Re: [PATCH] Clean generated headers with realclean
- References: <howr55d0j3.fsf@byrd.suse.de>
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