[Pkg-isocodes-devel] [SCM] ISO language, territory, currency, script codes and their translations branch, master, updated. iso-codes/3.17-25-g5153374

Tobias Quathamer toddy at debian.org
Wed Jun 30 11:04:36 UTC 2010


The following commit has been merged in the master branch:
commit 61d9f132eb2d900202c728c9d8f7e13bf2ccc8be
Author: Tobias Quathamer <toddy at debian.org>
Date:   Wed Jun 30 12:12:27 2010 +0200

    Generate sr at latin.po in the update-po target

diff --git a/Makefile.am b/Makefile.am
index 4721238..feab969 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,7 +13,13 @@ DISTCLEANFILES = $(pkgconfig_DATA)
 
 
 .PHONY: release
-release: check distcheck
+release: update-po check distcheck
+
+.PHONY: update-po
+update-po:
+	for domain in $(SUBDIRS); do \
+		cd $$domain && make update-po && cd ..; \
+	done
 
 .PHONY: sign-release
 sign-release: iso-codes-$(VERSION).tar.bz2
diff --git a/configure.ac b/configure.ac
index 52a52db..f787bf1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,7 @@ AC_PROG_MAKE_SET
 
 AC_PATH_PROG([MSGMERGE],[msgmerge])
 AC_PATH_PROG([MSGFMT],[msgfmt])
+AC_PATH_PROG([RECODE_SR_LATIN],[recode-sr-latin])
 AC_MSG_CHECKING([if $MSGFMT is GNU msgfmt])
 gnu_msgfmt=no
 MSGFMT_FLAGS=
diff --git a/rules.make b/rules.make
index 6a1f5bf..9157e90 100644
--- a/rules.make
+++ b/rules.make
@@ -24,6 +24,7 @@ update-po:
 		msgattrib --no-obsolete tmpfile > $$pofile; \
 		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN) $(VERSION)\\n\"/' $$pofile; \
 	done
+	$(RECODE_SR_LATIN) < sr.po > sr at latin.po
 	rm -f tmpfile
 
 localedir = $(datadir)/locale

-- 
ISO language, territory, currency, script codes and their translations



More information about the Pkg-isocodes-devel mailing list