2
# Copyright 2012 Christian Dywan <christian@twotoasts.de>
4
# This script is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU Lesser General Public
6
# License as published by the Free Software Foundation; either
7
# version 2.1 of the License, or (at your option) any later version.
8
echo Checking POTFILES.in for completeness
9
test -n "$SRCDIR" && cd $SRCDIR
10
test -z "$BLDDIR" && BLDDIR=_build
11
for i in $(find . -regextype posix-egrep \! -regex "./($BLDDIR|debian|tests)/.+" -a -regex './[^.]+.+[.](vala|c)'); do
12
grep -q $(basename $i) po/POTFILES.in || FILES="$FILES$i\n"
14
test -n "$FILES" && echo "$FILES...FAILED"
15
test -z "$FILES" && echo "...OK"