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

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

[Wesnoth-cvs-commits] wesnoth configure configure.ac


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth configure configure.ac
Date: Sat, 04 Sep 2004 08:22:05 -0400

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

Modified files:
        .              : configure configure.ac 

Log message:
        create .mo links at configure time, so that message catalogs can be 
found in build dir

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/configure.diff?tr1=1.99&tr2=1.100&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/configure.ac.diff?tr1=1.81&tr2=1.82&r1=text&r2=text

Patches:
Index: wesnoth/configure
diff -u wesnoth/configure:1.99 wesnoth/configure:1.100
--- wesnoth/configure:1.99      Fri Sep  3 17:19:02 2004
+++ wesnoth/configure   Sat Sep  4 12:17:02 2004
@@ -16226,6 +16226,23 @@
 fi
 
 
+
+#######################################################################
+# Symlinks that allow message catalogs to be used from build tree     #
+#######################################################################
+
+set -x
+for lang in `cat po/LINGUAS`
+do
+    mkdir -p po/$lang/LC_MESSAGES
+    rm -f po/$lang/LC_MESSAGES/*
+    for domain in `cat po/DOMAINS`
+    do
+       ln -s ../$domain.gmo po/$lang/LC_MESSAGES/$domain.mo
+    done
+done
+set +x
+
 #######################################################################
 # Data file substitution.                                             #
 #######################################################################
Index: wesnoth/configure.ac
diff -u wesnoth/configure.ac:1.81 wesnoth/configure.ac:1.82
--- wesnoth/configure.ac:1.81   Fri Sep  3 17:19:02 2004
+++ wesnoth/configure.ac        Sat Sep  4 12:17:03 2004
@@ -10,7 +10,7 @@
 dnl AC_DEFINE([WESNOTH_DEFAULT_SERVER], ["devsrv.wesnoth.org"], [The default 
server for this version])
 AC_DEFINE([WESNOTH_DEFAULT_SERVER], ["devsrv.wesnoth.org:14999"], [The default 
server for this version])
 
-AC_REVISION([$Revision: 1.81 $])
+AC_REVISION([$Revision: 1.82 $])
 
 AC_CONFIG_AUX_DIR([config])
 AM_INIT_AUTOMAKE([foreign 1.5])
@@ -544,6 +544,23 @@
 fi
 
 
+
+#######################################################################
+# Symlinks that allow message catalogs to be used from build tree     #
+#######################################################################
+
+set -x
+for lang in `cat po/LINGUAS`
+do
+    mkdir -p po/$lang/LC_MESSAGES
+    rm -f po/$lang/LC_MESSAGES/*
+    for domain in `cat po/DOMAINS`
+    do
+       ln -s ../$domain.gmo po/$lang/LC_MESSAGES/$domain.mo
+    done
+done
+set +x
+
 #######################################################################
 # Data file substitution.                                             #
 #######################################################################




reply via email to

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