@SET_MAKE@
-EXTRA_DIST = @POTFILES@ @PACKAGE@.pot
+EXTRA_DIST = @POTFILES@ @PACKAGE@.pot makepot.pl
POTSRC = @POTSRC@
-makepot = $(top_srcdir)/makepot.pl
+makepot = $(top_srcdir)/po/makepot.pl
CATOBJEXT = .gmo
INSTOBJEXT = .mo
SUFFIXES = .po .mo .gmo
.po.mo: $(PACKAGE).pot
- $(MSGFMT) -c -o $@ $<
+ $(MSGFMT) -c --statistics -o $@ $<
.po.gmo: $(PACKAGE).pot
file=`echo $* | awk ' { gsub(/.*\//,NIL); print $0; } '`.gmo \
- && rm -f $$file && $(GMSGFMT) -c -o $$file $<
+ && rm -f $$file && $(GMSGFMT) -c --statistics -o $$file $<
$(PACKAGE).pot: Makefile $(POTSRC)
- $(makepot) $(POTSRC) >$(PACKAGE).po; \
+ LC_ALL=C $(makepot) $(POTSRC) > $(PACKAGE).po
cmp $(PACKAGE).po $(PACKAGE).pot || \
mv $(PACKAGE).po $(PACKAGE).pot; \
rm -f $(PACKAGE).po