Call msgfmt with -c to catch format errors.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 25 Jul 2005 14:17:30 +0000 (14:17 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 25 Jul 2005 14:17:30 +0000 (14:17 +0000)
2005-07-25  Matthias Clasen  <mclasen@redhat.com>

* Makefile.in.in: Call msgfmt with -c to catch
format errors.

po/Makefile.in.in

index 092b4e0..75c7a71 100644 (file)
@@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@
 
 .po.gmo:
        file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
-         && rm -f $$file && $(GMSGFMT) -o $$file $<
+         && rm -f $$file && $(GMSGFMT) -c -o $$file $<
 
 .po.cat:
        sed -f ../intl/po2msg.sed < $< > $*.msg \