Commit 688ba646 authored by Bastien Nocera's avatar Bastien Nocera

Add check for missing translations

So that we ship all the translations, and don't miss
updating LINGUAS.
parent 7ece7446
......@@ -2,3 +2,12 @@ AUTOMAKE_OPTIONS = dist-bzip2
SUBDIRS = src data tests pam doc po
EXTRA_DIST = TODO intltool-extract.in intltool-merge.in intltool-update.in
check: check-translations
check-translations:
@for i in $(top_srcdir)/po/*.po ; do \
if ! grep -q `basename $$i | sed 's,.po,,'` $(top_srcdir)/po/LINGUAS ; then \
echo '***' `basename $$i | sed 's,.po,,'` missing from po/LINGUAS '***' ; \
exit 1; \
fi; \
done;
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