From: Bruno Haible Date: Mon, 11 Mar 2002 13:30:08 +0000 (+0000) Subject: Make an unused target more robust. X-Git-Tag: v0.11.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27210356871fcb9d3663eb549d419cea4fc4eab0;p=thirdparty%2Fgettext.git Make an unused target more robust. --- diff --git a/po/ChangeLog b/po/ChangeLog index 10c97cb75..a46fe4e6b 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2002-03-11 Bruno Haible + + * Makefile.in.in (.po.mo): Use a temporary .mo file, for robustness. + Reported by Jim Meyering . + 2002-03-11 Bruno Haible * fr.po: Update from Michel Robitaille . diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 2d8baba41..3636e1b9f 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -58,7 +58,8 @@ CATALOGS = @CATALOGS@ .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update .po.mo: - $(MSGFMT) -c -o $@ $< + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \