[PATCH 1/2] gdb: remove redundant rm in local-maintainer-clean

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
The local-maintainer-clean target removes a hardcoded list of
parser-generator output files, and then removes $(YYFILES) two lines
below.  $(YYFILES) contains the same list of files, so the first rm is
redundant.  Remove it.

Change-Id: I14d27930953e33d54010d964cb4bb7db4e8323a0
---
 gdb/Makefile.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 57f384170abf..0457ad7926da 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2441,10 +2441,6 @@ realclean: maintainer-clean
 local-maintainer-clean:
 	@echo "This command is intended for maintainers to use;"
 	@echo "it deletes files that may require special tools to rebuild."
-	rm -f c-exp.c \
-		cp-name-parser.c \
-		ada-lex.c ada-exp.c \
-		d-exp.c f-exp.c go-exp.c m2-exp.c p-exp.c
 	rm -f TAGS
 	rm -f $(YYFILES)
 	rm -f nm.h config.status

base-commit: d2102b0d6a95ba3b37204976fb3f6ebd935822fb
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.