Check that merged po files are well formed.
[pspp] / po / automake.mk
index 3848cd72fb3ac7eaa8194052135553453c74fa47..2f169f338fe6ce3971e90f502a96a1170e237247 100644 (file)
@@ -76,6 +76,7 @@ $(LOCALPOFILES) $(POFILES): $(POTFILE)
        fi ;
        $(AM_V_at)$(SED) -e '/^"POT-Creation-Date: /d' $@,tmp > $@,tmp2
        $(RM) $@,tmp
+       $(MSGFMT) -c $@,tmp2
        mv $@,tmp2 $@
 
 SUFFIXES += .po .gmo