Re: [PATCH v4 04/73] Makefile: "pot" target to extract messages marked for translation
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 25, 2011, 07:22 UTC
- Message-ID
- <20110225072212.GC23037@elie>
- In-Reply-To
- <1298418152-27789-5-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> Add rules to generate a template (po/git.pot) listing messages marked > for translation in the C portion of git.
A forgotten piece. Not urgent at all.
-- 8< -- Subject: i18n: "make distclean" should clean up after "make pot"
This is in "make distclean" and not "make clean" to avoid needlessly changing the POT-Creation-Date in the following scenario:
make clean; # cleaning up after an old build git pull make pot; # regenerate po template if necessary msgmerge po/my_language.po po/git.pot
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile index 1cc6c60..7497835 100644 --- a/Makefile +++ b/Makefile @@ -2340,6 +2340,7 @@ dist-doc: distclean: clean $(RM) configure + $(RM) po/git.pot clean: $(RM) *.o block-sha1/*.o ppc/*.o compat/*.o compat/*/*.o xdiff/*.o vcs-svn/*.o \
-- 1.7.4.1