diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2022-05-26 16:50:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-26 19:32:55 +0200 |
commit | fbb3d323936d856e1091b137481e5edb15162619 (patch) | |
tree | e9fcba72f10e9f0f36ab31caf3a0926a85847650 /shared.mak | |
parent | po/git.pot: don't check in result of "make pot" (diff) | |
download | git-fbb3d323936d856e1091b137481e5edb15162619.tar.xz git-fbb3d323936d856e1091b137481e5edb15162619.zip |
Makefile: add "po-update" rule to update po/XX.po
Since there is no longer a "po/git.pot" file in tree, a l10n team leader
has to run several commands to update their "po/XX.po" file:
$ make pot
$ msgmerge --add-location --backup=off -U po/XX.po po/git.pot
To make this process easier, add a new rule so that l10n team leaders
can update their "po/XX.po" with one command. E.g.:
$ make po-update PO_FILE=po/zh_CN.po
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shared.mak')
-rw-r--r-- | shared.mak | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.mak b/shared.mak index 50d4596f0d..8cd170a7e7 100644 --- a/shared.mak +++ b/shared.mak @@ -63,6 +63,7 @@ ifndef V QUIET_LNCP = @echo ' ' LN/CP $@; QUIET_XGETTEXT = @echo ' ' XGETTEXT $@; QUIET_MSGFMT = @echo ' ' MSGFMT $@; + QUIET_MSGMERGE = @echo ' ' MSGMERGE $@; QUIET_GCOV = @echo ' ' GCOV $@; QUIET_SP = @echo ' ' SP $<; QUIET_HDR = @echo ' ' HDR $(<:hcc=h); |