mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Add check for missing translations
So that we ship all the translations, and don't miss updating LINGUAS.
This commit is contained in:
@ -2,3 +2,12 @@ AUTOMAKE_OPTIONS = dist-bzip2
|
|||||||
SUBDIRS = src data tests pam doc po
|
SUBDIRS = src data tests pam doc po
|
||||||
EXTRA_DIST = TODO intltool-extract.in intltool-merge.in intltool-update.in
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user