Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#11984) fix for nb.po
Home

[Freeciv-Dev] (PR#11984) fix for nb.po

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11984) fix for nb.po
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jan 2005 19:48:21 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11984 >

I didn't realize it was problematic until I went to "make dist".

1.  If you edit no.po then "make dist" the changes won't be updated in 
nb.po.  You have to rerun autogen.sh.

2.  If you "cvs up no.po" then "make dist" the changes won't be updated 
in nb.po.  Same problem.

This applies for "make dist" as well as just running "make install" (and 
then trying to play in nb).

Fortunately there is a tool for dealing with such dependencies.  It's 
called "make" ;-).

-jason

? gprof
? po/nb.po
Index: autogen.sh
===================================================================
RCS file: /home/freeciv/CVS/freeciv/autogen.sh,v
retrieving revision 1.21
diff -u -r1.21 autogen.sh
--- autogen.sh  20 Jan 2005 00:00:12 -0000      1.21
+++ autogen.sh  21 Jan 2005 03:45:10 -0000
@@ -132,9 +132,6 @@
     echo "This will also remove the dependency for xgettext and msgfmt."
     DIE=1
   fi
-  # duplicate this language since the language code changed, but many
-  # distros lag behind in updating it
-  cp po/no.po po/nb.po
 fi
 
 if [ "$DIE" -eq 1 ]; then
Index: po/Makefile.in.in
===================================================================
RCS file: /home/freeciv/CVS/freeciv/po/Makefile.in.in,v
retrieving revision 1.6
diff -u -r1.6 Makefile.in.in
--- po/Makefile.in.in   15 Sep 2003 15:58:42 -0000      1.6
+++ po/Makefile.in.in   21 Jan 2005 03:45:10 -0000
@@ -54,6 +54,11 @@
 
 CATALOGS = @CATALOGS@
 
+nb.po: no.po
+       cp no.po nb.po
+
+BUILT_SOURCES = nb.po
+
 .SUFFIXES:
 .SUFFIXES: .c .o .po .pox .gmo .mo
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11984) fix for nb.po, Jason Short <=