From: Tom de Vries Date: Mon, 8 Dec 2025 08:30:25 +0000 (+0100) Subject: [gdb/build] Add gdb subdirs in gdb.pot X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6954c0bae36e1590a01f316671ed9c3d28ebd1f;p=thirdparty%2Fbinutils-gdb.git [gdb/build] Add gdb subdirs in gdb.pot I found that gettext strings from gdb/cli are not added to gdb.pot. Fix this by explicitly listing the gdb subdirs in the po/$(PACKAGE).pot rule in gdb/Makefile.in. Tested by doing: ... $ cd build/gdb $ make po/gdb.pot ... $ grep -c cli/ po/gdb.pot 345 ... --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ed29f1703cd..daed1ec12f9 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2705,7 +2705,8 @@ $(PACKAGE).pot: po/$(PACKAGE).pot po/$(PACKAGE).pot: force -test -d po || mkdir po sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir) \ - $(srcdir)/../gdbsupport $(srcdir)/../gdbserver + $(srcdir)/../gdbsupport $(srcdir)/../gdbserver \ + $(addprefix $(srcdir)/,$(CONFIG_SRC_SUBDIR)) #