[binutils-gdb] [gdb/build] Fix building gdb.pot
Tom de Vries via Gdb-cvs <[email protected]> Tue, 9 Jun 2026 18:23:30 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f0d6ada6cb2647173a0aa13220d987178fc3f64d commit f0d6ada6cb2647173a0aa13220d987178fc3f64d Author: Tom de Vries <[email protected]> Date: Tue Jun 9 20:23:25 2026 +0200 [gdb/build] Fix building gdb.pot Since commit 8708a20e2bb ("gdb: store gdbtk object files into their sources directory"), building gdb.pot is broken. The commit added gdbtk/generic to CONFIG_SRC_SUBDIR, and building gdb.pot breaks because the directory doesn't exist. Fix this by ignoring the dir while building gdb.pot. Approved-By: Tom Tromey <[email protected]> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34212 Diff: --- gdb/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 43e05326fc3..624e1c82f50 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2698,7 +2698,7 @@ po/$(PACKAGE).pot: force -test -d po || mkdir po sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir) \ $(srcdir)/../gdbsupport $(srcdir)/../gdbserver \ - $(addprefix $(srcdir)/,$(CONFIG_SRC_SUBDIR)) + $(addprefix $(srcdir)/,$(filter-out gdbtk/generic, $(CONFIG_SRC_SUBDIR))) #