CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <[EMAIL PROTECTED]> 04/09/09 22:19:46
Modified files:
po : Makefile.in.in
Log message:
do not fail miserably when msgfmt is missing
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/Makefile.in.in.diff?tr1=1.16&tr2=1.17&r1=text&r2=text
Patches:
Index: wesnoth/po/Makefile.in.in
diff -u wesnoth/po/Makefile.in.in:1.16 wesnoth/po/Makefile.in.in:1.17
--- wesnoth/po/Makefile.in.in:1.16 Thu Sep 9 21:42:08 2004
+++ wesnoth/po/Makefile.in.in Thu Sep 9 22:19:46 2004
@@ -8,8 +8,11 @@
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.
#
-# Origin: gettext-0.14
-# Modified to support WML files
+# Origin: gettext-0.14.1-5
+# Modified by Yann Dirson for Battle for Wesnoth, for:
+# - WML files support
+# - multiple domains support
+# - proper behaviour when msgfmt is missing
PACKAGE = @PACKAGE@
VERSION = @VERSION@
@@ -74,7 +77,8 @@
.po.gmo:
@test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}rm -f $@ && $(GMSGFMT) -c --statistics -o $@ $<"; \
- cd $(srcdir) && rm -f $@ && $(GMSGFMT) -c --statistics -o [EMAIL
PROTECTED] $< && mv [EMAIL PROTECTED] $@
+ cd $(srcdir) && rm -f $@ && $(GMSGFMT) -c --statistics -o [EMAIL
PROTECTED] $< && \
+ if test -e [EMAIL PROTECTED]; then mv [EMAIL PROTECTED] $@; fi
.sin.sed:
sed -e '/^#/d' $< > t-$@