r4086 - in packages/trunk/hex-a-hop/debian: . i18n

Jens Seidel jseidel-guest at alioth.debian.org
Wed Sep 5 22:18:54 UTC 2007


Author: jseidel-guest
Date: 2007-09-05 22:18:54 +0000 (Wed, 05 Sep 2007)
New Revision: 4086

Modified:
   packages/trunk/hex-a-hop/debian/changelog
   packages/trunk/hex-a-hop/debian/i18n/Makefile
   packages/trunk/hex-a-hop/debian/i18n/languages.list
   packages/trunk/hex-a-hop/debian/rules
Log:
* Moved Vietnamese and Bulgarian man page into
  {bg,vi}.UTF-8/ which will be supported in man-db
  version 2.5.0 in the near future. See: #440420


Modified: packages/trunk/hex-a-hop/debian/changelog
===================================================================
--- packages/trunk/hex-a-hop/debian/changelog	2007-09-05 21:18:06 UTC (rev 4085)
+++ packages/trunk/hex-a-hop/debian/changelog	2007-09-05 22:18:54 UTC (rev 4086)
@@ -10,8 +10,11 @@
   * Use an ordinary (ASCII) dash instead of a UTF-8
     encoded one in the Vietnamese translation which is
     invalid in the generated man page.
+  * Moved Vietnamese and Bulgarian man page into
+    {bg,vi}.UTF-8/ which will be supported in man-db
+    version 2.5.0 in the near future. See: #440420
 
- -- Jens Seidel <jensseidel at users.sf.net>  Sun, 02 Sep 2007 23:45:00 +0200
+ -- Jens Seidel <jensseidel at users.sf.net>  Thu, 06 Sep 2007 00:20:00 +0200
 
 hex-a-hop (0.0.20070315-4) unstable; urgency=low
 

Modified: packages/trunk/hex-a-hop/debian/i18n/Makefile
===================================================================
--- packages/trunk/hex-a-hop/debian/i18n/Makefile	2007-09-05 21:18:06 UTC (rev 4085)
+++ packages/trunk/hex-a-hop/debian/i18n/Makefile	2007-09-05 22:18:54 UTC (rev 4086)
@@ -81,7 +81,10 @@
 install: build-stamp
 	@cat languages.list | while read lang enc; do \
 		echo Installing \"$$lang\" translation; \
-		install -d $(LOCALEDIR)$$lang ; \
 		install -p -d -m 755 $(LOCALEDIR)$$lang/LC_MESSAGES ; \
 		install -m 644 $$lang.mo $(LOCALEDIR)$$lang/LC_MESSAGES/hex-a-hop.mo ; \
+		encdir=""; [ "$$enc" = utf-8 ] && encdir=.UTF-8; \
+		install -p -d -m 755 $(MANDIR)$$lang$$encdir/man6/ ; \
+		install -m 644 ../hex-a-hop.$$lang.6 $(MANDIR)$$lang$$encdir/man6/hex-a-hop.6 ; \
+		gzip $(MANDIR)$$lang$$encdir/man6/hex-a-hop.6; \
 	done

Modified: packages/trunk/hex-a-hop/debian/i18n/languages.list
===================================================================
--- packages/trunk/hex-a-hop/debian/i18n/languages.list	2007-09-05 21:18:06 UTC (rev 4085)
+++ packages/trunk/hex-a-hop/debian/i18n/languages.list	2007-09-05 22:18:54 UTC (rev 4086)
@@ -1,7 +1,7 @@
-bg
+bg utf-8
 de
 es latin1
 nl
 pl latin2
 ru koi8-r
-vi
+vi utf-8

Modified: packages/trunk/hex-a-hop/debian/rules
===================================================================
--- packages/trunk/hex-a-hop/debian/rules	2007-09-05 21:18:06 UTC (rev 4085)
+++ packages/trunk/hex-a-hop/debian/rules	2007-09-05 22:18:54 UTC (rev 4086)
@@ -47,7 +47,8 @@
 	dh_clean -k 
 	dh_installdirs
 	#$(MAKE) DESTDIR=$(CURDIR)/debian/hex-a-hop install
-	$(MAKE) -C debian/i18n install LOCALEDIR=$(CURDIR)/debian/hex-a-hop/usr/share/locale/
+	$(MAKE) -C debian/i18n install LOCALEDIR=$(CURDIR)/debian/hex-a-hop/usr/share/locale/ \
+	  MANDIR=$(CURDIR)/debian/hex-a-hop/usr/share/man/
 
 
 # Build architecture-independent files here.
@@ -62,7 +63,8 @@
 	dh_installexamples
 	dh_install
 	dh_installmenu
-	dh_installman debian/*.6
+	# dh_installman is not yet able to install translations into <lang>.UTF-8/
+	dh_installman debian/hex-a-hop.6
 	dh_link
 	dh_strip
 	dh_compress




More information about the Pkg-games-commits mailing list