mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2026-08-27 00:26:02 -04:00
[gdb/build] Handle gdbsupport and gdbserver in gdb.pot
Currently, when making gdb.pot: ... $ cd build/gdb $ make po/gdb.pot test -d po || mkdir po sh -e /data/vries/gdb/src/gdb/po/gdbtext /usr/bin/xgettext gdb . /data/vries/gdb/src/gdb $ ... only strings from build/gdb and gdb are added. Also add strings from gdbsupport and gdbserver. Update gdb/po/gdbtext to handle the .cc files in gdbsupport and gdbserver. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
parent
d07e866442
commit
4a40fe05bf
2 changed files with 3 additions and 2 deletions
|
|
@ -2703,7 +2703,8 @@ clean-po:
|
|||
$(PACKAGE).pot: po/$(PACKAGE).pot
|
||||
po/$(PACKAGE).pot: force
|
||||
-test -d po || mkdir po
|
||||
sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir)
|
||||
sh -e $(srcdir)/po/gdbtext $(XGETTEXT) $(PACKAGE) . $(srcdir) \
|
||||
$(srcdir)/../gdbsupport $(srcdir)/../gdbserver
|
||||
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ do
|
|||
-name '*-stub.c' -prune -o \
|
||||
-name 'testsuite' -prune -o \
|
||||
-name 'init.c' -prune -o \
|
||||
-name '*.[hc]' -print
|
||||
-name '*.[hc]' -o -name '*.cc' -print
|
||||
)
|
||||
done | ${xgettext} \
|
||||
--default-domain=${package} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue