From c675db743ec2634f1f5f185fa8a6e73eb59447f7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 27 Feb 2022 17:31:54 -0700 Subject: Some "distclean" fixes in gdb PR build/12440 points out that "make distclean" is broken in gdb. Most of the breakage comes from other projects in the tree, but we can fix some of the issues, which is what this patch does. Note that the yacc output files, like c-exp.c, are left alone. In a source distribution, these are included in the tarball, and if the user builds in-tree, we would not want to remove them. While that seems a bit obscure, it seems to me that "distclean" is only really useful for in-tree builds anyway -- out-of-tree I simply delete the entire build directory and start over. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=12440 --- gdb/testsuite/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/Makefile.in') diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index 0bfcbdc..790b9e0 100644 --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -353,7 +353,7 @@ clean mostlyclean: distclean maintainer-clean realclean: clean -rm -f *~ core - -rm -f Makefile config.status *-init.exp + -rm -f Makefile config.status *-init.exp lib/pdtrace -rm -fr *.log summary detail *.plog *.sum *.psum site.* Makefile : Makefile.in config.status $(host_makefile_frag) -- cgit v1.1