This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Clean generated headers with realclean
- From: Andreas Jaeger <aj at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 24 Apr 2012 09:58:08 +0200
- Subject: [PATCH] Clean generated headers with realclean
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.
Note there are still a few files lying around...
Ok to commit?
Andreas
2012-04-24 Andreas Jaeger <aj@suse.de>
* Makerules (common-clean): Also remove gen-as-const-headers
files.
diff --git a/Makerules b/Makerules
index d184be6..d0e98bb 100644
--- a/Makerules
+++ b/Makerules
@@ -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
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix ImendÃrffer,HRB16746 (AG NÃrnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126