[Yum-devel] [PATCH] make test should do a msgfmt -c on all the translations
Seth Vidal
skvidal at fedoraproject.org
Wed Oct 14 15:20:26 UTC 2009
---
Makefile | 1 +
po/Makefile | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 3f1b54f..aba6eb2 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,7 @@ doccheck:
test:
@nosetests -i ".*test" test
@test/check-po-yes-no.py
+ cd po; make test
test-skipbroken:
@nosetests -i ".*test" test/skipbroken-tests.py
diff --git a/po/Makefile b/po/Makefile
index aad596a..6694554 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -70,3 +70,11 @@ install: all
%.mo: %.po
msgfmt -o $@ $< -c
+
+
+test:
+ for n in $(CATALOGS); do \
+ msgfmt -c $$n; \
+ done
+
+
\ No newline at end of file
--
1.6.2.5
More information about the Yum-devel
mailing list