Remove two more files in gdb "distclean"

Message ID 20230217170129.2364168-1-tromey@adacore.com
State Committed
Commit 72ee804c9200d4e860c9802e1e1e9b315f221ab8
Headers
Series Remove two more files in gdb "distclean" |

Commit Message

Tom Tromey Feb. 17, 2023, 5:01 p.m. UTC
  The recent work to have gdb link via libtool means that there are a
couple more generated files in the build directory that should be
removed by "distclean".

Note that gdb can't really fully implement distclean due to the desire
to put certain generated files into the distribution.  Still, it can
get pretty close.
---
 gdb/Makefile.in | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Tom Tromey March 6, 2023, 3:03 p.m. UTC | #1
>>>>> "Tom" == Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> writes:

Tom> The recent work to have gdb link via libtool means that there are a
Tom> couple more generated files in the build directory that should be
Tom> removed by "distclean".

Tom> Note that gdb can't really fully implement distclean due to the desire
Tom> to put certain generated files into the distribution.  Still, it can
Tom> get pretty close.

I'm checking this in.

Tom
  

Patch

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ace507cded8..85a57243039 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -2224,6 +2224,7 @@  distclean: clean
 	rm -f gdb-gdb.py gdb-gdb.gdb
 	rm -f y.output yacc.acts yacc.tmp y.tab.h
 	rm -f config.log config.cache
+	rm -f config.lt libtool
 	rm -f Makefile
 	rm -rf $(DEPDIR)
 	for i in $(CONFIG_SRC_SUBDIR); do \