[fenix] 19/127: Install i18n stuff

Peter Pentchev roam at ringlet.net
Thu Dec 17 14:39:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

roam-guest pushed a commit to branch master
in repository fenix.

commit d2d6a2579b98c496e818daeba7052864e3b67479
Author: Miriam Ruiz <miriam at debian.org>
Date:   Mon Jun 18 12:37:05 2007 +0000

    Install i18n stuff
---
 debian/fenix0.92-runtime.install | 3 ++-
 debian/fenix0.92.install         | 1 +
 debian/i18n/Makefile             | 8 ++++----
 debian/rules                     | 1 +
 4 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/debian/fenix0.92-runtime.install b/debian/fenix0.92-runtime.install
index f5f83f8..1089f18 100644
--- a/debian/fenix0.92-runtime.install
+++ b/debian/fenix0.92-runtime.install
@@ -1 +1,2 @@
-usr/bin/*fxi
\ No newline at end of file
+usr/bin/*fxi
+usr/share/locale/*/LC_MESSAGES/fenix0.92-fxi.mo
diff --git a/debian/fenix0.92.install b/debian/fenix0.92.install
index de9db1d..1bc3189 100644
--- a/debian/fenix0.92.install
+++ b/debian/fenix0.92.install
@@ -1,3 +1,4 @@
 usr/bin/*fpg
 usr/bin/*fxc
 usr/bin/*map
+usr/share/locale/*/LC_MESSAGES/fenix0.92-fxc.mo
diff --git a/debian/i18n/Makefile b/debian/i18n/Makefile
index 3028cc1..ef8c07d 100644
--- a/debian/i18n/Makefile
+++ b/debian/i18n/Makefile
@@ -15,7 +15,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-LOCALEDIR=./
+INSTALLPREFIX=./
 
 all: fenix0.92-fxc.pot fenix0.92-fxi.pot build
 
@@ -55,7 +55,7 @@ install: build-stamp
 		lang=`echo $$i | awk -F_ '{print $$2}'` ; \
 		file=`echo $$i | awk -F_ '{print $$1}'` ; \
 		echo Installing Language \"$$lang\" for \"$$file\" ; \
-		install -d $(LOCALEDIR)$$lang ; \
-		install -p -d -m 755 $(LOCALEDIR)$$lang/LC_MESSAGES ; \
-		install -m 644 $$f $(LOCALEDIR)$$lang/LC_MESSAGES/$$file.mo; \
+		install -d $(INSTALLPREFIX)$$lang ; \
+		install -p -d -m 755 $(INSTALLPREFIX)$$lang/LC_MESSAGES ; \
+		install -m 644 $$f $(INSTALLPREFIX)$$lang/LC_MESSAGES/$$file.mo; \
 	done
diff --git a/debian/rules b/debian/rules
index 505d211..4f1b0d8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,6 +68,7 @@ install: build
 		for f in *; do \
 			mv "$$f" "fenix$(FENIX_VERSION)-$$f" ; \
 		done
+	$(MAKE) -C debian/i18n install INSTALLPREFIX=$(CURDIR)/debian/tmp/usr/share/locale/
 
 # Build architecture-independent files here.
 binary-indep: build install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/fenix.git



More information about the Pkg-games-commits mailing list