wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/po Makefile.in.in


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/po Makefile.in.in
Date: Thu, 09 Sep 2004 18:24:46 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    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 
address@hidden $< && mv address@hidden $@
+       cd $(srcdir) && rm -f $@ && $(GMSGFMT) -c --statistics -o 
address@hidden $< && \
+         if test -e address@hidden; then mv address@hidden $@; fi
 
 .sin.sed:
        sed -e '/^#/d' $< > t-$@




reply via email to

[Prev in Thread] Current Thread [Next in Thread]