mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-08 11:18:02 +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:
parent
7ece7446b9
commit
688ba64670
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue