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 wesnoth/ca.po wesnoth...


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/po Makefile.in.in wesnoth/ca.po wesnoth...
Date: Thu, 02 Sep 2004 09:17:50 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    04/09/02 13:12:33

Modified files:
        po             : Makefile.in.in 
Added files:
        po/wesnoth     : ca.po cs.po da.po de.po es.po eu.po fi.po fr.po 
                         hu.po it.po nl.po no.po pl.po pt_BR.po sk.po 
                         sv.po 
Removed files:
        po             : ca.po cs.po da.po de.po es.po eu.po fi.po fr.po 
                         hu.po it.po nl.po no.po pl.po pt_BR.po sk.po 
                         sv.po 

Log message:
        moved po files for wesnoth domain into their own subdir

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/Makefile.in.in.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/ca.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/cs.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/da.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/de.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/es.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/eu.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/fi.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/fr.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/hu.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/it.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/nl.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/no.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/pl.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/pt_BR.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/sk.po?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/po/wesnoth/sv.po?rev=1.1

Patches:
Index: wesnoth/po/Makefile.in.in
diff -u wesnoth/po/Makefile.in.in:1.3 wesnoth/po/Makefile.in.in:1.4
--- wesnoth/po/Makefile.in.in:1.3       Thu Sep  2 12:24:09 2004
+++ wesnoth/po/Makefile.in.in   Thu Sep  2 13:12:12 2004
@@ -60,23 +60,26 @@
 .SUFFIXES:
 .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
 
+all: address@hidden@
+
+$(GMOFILES): %:
+       $(MAKE) $(DOMAIN)/$@
+
 .po.mo:
        @echo "$(MSGFMT) -c -o $@ $<"; \
-       $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+       $(MSGFMT) -c -o address@hidden $< && mv address@hidden $@
 
+#$(DOMAIN)/%.gmo: $(DOMAIN)/%.po
 .po.gmo:
-       @lang=`echo $* | sed -e 's,.*/,,'`; \
-       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
-       echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o 
$${lang}.gmo $${lang}.po"; \
-       cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o 
t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.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 $@
 
 .sin.sed:
        sed -e '/^#/d' $< > t-$@
        mv t-$@ $@
 
 
-all: address@hidden@
-
 all-yes: stamp-po
 all-no:
 
@@ -146,12 +149,12 @@
 # Note that a PO file is not touched if it doesn't need to be changed.
 $(POFILES): $(srcdir)/$(DOMAIN).pot
        @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
-       if test -f "$(srcdir)/$${lang}.po"; then \
+       if test -f "$(srcdir)/$(DOMAIN)/$${lang}.po"; then \
          test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
-         echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
-         cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \
+         echo "$${cdcmd}$(MSGMERGE_UPDATE) $(DOMAIN)/$${lang}.po 
$(DOMAIN).pot"; \
+         cd $(srcdir) && $(MSGMERGE_UPDATE) $(DOMAIN)/$${lang}.po 
$(DOMAIN).pot; \
        else \
-         $(MAKE) $${lang}.po-create; \
+         $(MAKE) $(DOMAIN)/$${lang}.po-create; \
        fi
 
 




reply via email to

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