[Yum-devel] [PATCH] make test should do a msgfmt -c on all the translations
James Antill
james at fedoraproject.org
Wed Oct 14 15:45:20 UTC 2009
On Wed, 2009-10-14 at 11:20 -0400, Seth Vidal wrote:
> ---
> 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
ACK.
More information about the Yum-devel
mailing list