[binutils-gdb] gdb: remove redundant rm in local-maintainer-clean

Simon Marchi via Gdb-cvs <[email protected]>
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fffd5c70de3d9b71f1ed4eec3ada152d5688fbe6

commit fffd5c70de3d9b71f1ed4eec3ada152d5688fbe6
Author: Simon Marchi <[email protected]>
Date:   Thu Aug 20 14:20:23 2026 -0400

    gdb: remove redundant rm in local-maintainer-clean
    
    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
    Approved-By: Kevin Buettner <[email protected]>

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

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 57f384170ab..0457ad7926d 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
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.