git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/6] Makefile: do not mark strings for l10n from test programs

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Aug 24, 2012, 05:43 UTC
Message-ID
<1345786986-10826-2-git-send-email-pclouds@gmail.com>
In-Reply-To
<1345786986-10826-1-git-send-email-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6b0c961..ddeb04d 100644
--- a/Makefile
+++ b/Makefile
@@ -2398,7 +2398,8 @@ XGETTEXT_FLAGS_C = $(XGETTEXT_FLAGS) --language=C \
 XGETTEXT_FLAGS_SH = $(XGETTEXT_FLAGS) --language=Shell \
 	--keyword=gettextln --keyword=eval_gettextln
 XGETTEXT_FLAGS_PERL = $(XGETTEXT_FLAGS) --keyword=__ --language=Perl
-LOCALIZED_C := $(C_OBJ:o=c) $(LIB_H) $(GENERATED_H)
+C_OBJ_NOTESTS:= $(filter-out test-%,$(C_OBJ))
+LOCALIZED_C := $(C_OBJ_NOTESTS:o=c) $(LIB_H) $(GENERATED_H)
 LOCALIZED_SH := $(SCRIPT_SH)
 LOCALIZED_PERL := $(SCRIPT_PERL)
 
-- 
1.7.12.rc2
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 2 of 10 in “Gettext poison rework”
  1. 0/6 Gettext poison reworkNguyễn Thái Ngọc Duy, Aug 24, 2012
  2. 1/6 Makefile: do not mark strings for l10n from test programsNguyễn Thái Ngọc Duy, Aug 24, 2012
  3. 2/6 Makefile: recreate git.pot if *.sh or *.perl changesNguyễn Thái Ngọc Duy, Aug 24, 2012
  4. 3/6 Replace gettext poison implementation with pseudotranslation generationNguyễn Thái Ngọc Duy, Aug 24, 2012
  5. 4/6 Initialize gettext for test programs that may use itNguyễn Thái Ngọc Duy, Aug 24, 2012
  6. 5/6 Support logging unmarked stringsNguyễn Thái Ngọc Duy, Aug 24, 2012
  7. 6/6 test-parse-options: mark parseopt help strings for pseudotranslationNguyễn Thái Ngọc Duy, Aug 24, 2012
  8. Ævar Arnfjörð BjarmasonAug 24, 2012
  9. Nguyen Thai Ngoc DuyAug 24, 2012
  10. Junio C HamanoAug 24, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.