From 55396fbb36523876e08cf84f214d769b56bebec8 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 28 Oct 2009 11:56:32 -1000 Subject: Clear pot and po updates after a 'make release' or 'make archive'. These are updated by msgfmt, but leave the po files in the repository as is since they are updated by an external project. We'll keep the pot file up to date, but that happens at 'make bumpver'. Since msgfmt generates new po files for the release tarball, we need to reset all of these files after a 'make release' or 'make archive'. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 79b43e581..cf11faa21 100644 --- a/Makefile.am +++ b/Makefile.am @@ -94,6 +94,8 @@ scratch: archive: $(MAKE) tag $(MAKE) dist + git checkout -- po/$(PACKAGE_NAME).pot + ( cd po ; for f in *.po ; do git checkout -- $$f 2>/dev/null ; done ) release: archive -- cgit