Subject: Re: [PATCH v4 04/73] Makefile: "pot" target to extract messages marked for translation

From: Jonathan Nieder <[email-masked]>
Date: Fri, 25 Feb 2011 01:22:12 -0600

Æ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 <[email-masked]>
---
 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