]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/Makefile.in
Some "distclean" fixes in gdb
authorTom Tromey <tom@tromey.com>
Mon, 28 Feb 2022 00:31:54 +0000 (17:31 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 1 Mar 2022 23:54:18 +0000 (16:54 -0700)
commitc675db743ec2634f1f5f185fa8a6e73eb59447f7
tree8b8af145edb7e0632563b69569dfee94563309b1
parent17dccf103190198e985169b4f4e0e210e6b3a5aa
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/Makefile.in
gdb/testsuite/Makefile.in