From a18a5aa515916cdbbd0791ac0e0c63e3780befa9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 28 Aug 2010 17:42:11 +0000 Subject: [PATCH] Makefile: provide a --msgid-bugs-address to xgettext(1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change the invocations of xgettext to use the --msgid-bugs-address option. This has the effect of adding a Report-Msgid-Bugs-To header to the git.pot and the derived *.po files. Doing so is recommended by the gettext manual. If this isn't added the Report-Msgid-Bugs-To header already in po/is.po and other PO files will be removed by msgmerge(1). Signed-off-by: Ævar Arnfjörð Bjarmason --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 52b713f91..8650eb12e 100644 --- a/Makefile +++ b/Makefile @@ -2022,7 +2022,7 @@ cscope: $(RM) cscope* $(FIND) . -name '*.[hcS]' -print | xargs cscope -b -XGETTEXT_OPTIONS = --add-comments +XGETTEXT_OPTIONS = --add-comments --msgid-bugs-address="Git Mailing List " pot: $(XGETTEXT) $(XGETTEXT_OPTIONS) --keyword=_ --keyword=N_ --output=po/git.pot --language=C $(C_OBJ:o=c) t/t0200/test.c $(XGETTEXT) $(XGETTEXT_OPTIONS) --join-existing --output=po/git.pot --language=Shell $(SCRIPT_SH) t/t0200/test.sh -- 2.30.2