Commit 61d9f132 authored by Tobias Quathamer's avatar Tobias Quathamer

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

parent e189336d
......@@ -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
......
......@@ -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=
......
......@@ -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@latin.po
rm -f tmpfile
localedir = $(datadir)/locale
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment