(It is already tested in dist(check) but that is way too slow.)
$(NULL)
check_SCRIPTS = \
- modules/lua/telnet.sh
+ modules/lua/telnet.sh \
+ check_POTFILES.sh
# Disabled test:
# meta: No suitable test file
check_HEADERS = libvlc/test.h libvlc/libvlc_additions.h
-TESTS = $(check_PROGRAMS)
+TESTS = $(check_PROGRAMS) check_POTFILES.sh
DISTCLEANFILES = samples/test.sample samples/meta.sample
--- /dev/null
+#! /bin/sh
+
+top_srcdir="${srcdir}/.."
+
+set -xe
+
+cd ${top_srcdir}
+
+grep -v '^#' po/POTFILES.in | \
+while read f
+do
+ test -n "$f" || continue
+ if test ! -f "$f"
+ then
+ echo "$f: source file missing!" >&2
+ exit 1
+ fi
+done