diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 391ff49..45bb764 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,3 +33,14 @@ dist-hook: else \ echo Failed to generate AUTHORS: not a branch >&2; \ fi + +TESTS = \ + test-ellipsis + +test-ellipsis: po + @echo "#!/bin/bash" > $@ + @echo "(cd po && make indicator-session.pot)" >> $@ + @echo "grep -c -e \"^msgid.*\.\.\.\\\"\" po/indicator-session.pot > /dev/null && echo \"Ellipsis found in user visible strings\" >&2 && exit 1" >> $@ + @chmod +x $@ + +CLEANFILES = $(TESTS) |