summaryrefslogtreecommitdiff
path: root/src/backend/nls.mk
blob: b7d5dd46e4513f6de866e0b329d89acf0f99c6a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# src/backend/nls.mk
CATALOG_NAME     = postgres
GETTEXT_FILES    = + gettext-files
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
                   GUC_check_errmsg \
                   GUC_check_errdetail \
                   GUC_check_errhint \
                   write_stderr \
                   yyerror \
                   jsonpath_yyerror:4 \
                   parser_yyerror \
                   replication_yyerror:3 \
                   scanner_yyerror \
                   syncrep_yyerror:4 \
                   report_invalid_record:2 \
                   ereport_startup_progress \
                   json_token_error:2 \
                   json_manifest_parse_failure:2 \
                   error_cb:2
GETTEXT_FLAGS    = $(BACKEND_COMMON_GETTEXT_FLAGS) \
                   GUC_check_errmsg:1:c-format \
                   GUC_check_errdetail:1:c-format \
                   GUC_check_errhint:1:c-format \
                   write_stderr:1:c-format \
                   report_invalid_record:2:c-format \
                   ereport_startup_progress:1:c-format \
                   json_token_error:2:c-format \
                   error_cb:2:c-format

gettext-files: generated-parser-sources generated-headers
	find $(srcdir) $(srcdir)/../common $(srcdir)/../port -name '*.c' -print | LC_ALL=C sort >$@

my-clean:
	rm -f gettext-files

.PHONY: my-clean
clean: my-clean