[Pkg-lyx-devel] [SCM] eLyxer - standalone LyX to html converter branch, master, updated. upstream/0.39-58-g098e512

Sven Hoexter sven at timegate.de
Wed Jan 20 12:42:53 UTC 2010


The following commit has been merged in the master branch:
commit ce15a83272ac68addbcd85c98bf6834d1a6d1101
Author: Sven Hoexter <sven at timegate.de>
Date:   Wed Jan 20 12:44:13 2010 +0100

    Add a for loop to the override_dh_auto_install target in debian/rules to generate and install the needed .mo files for the translations.

diff --git a/debian/changelog b/debian/changelog
index 78bf35e..7f91578 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 elyxer (0.40-1) unstable; urgency=low
 
   * New upstream release
+  * Add a for loop to the override_dh_auto_install target in debian/rules
+    to generate and install the needed .mo files for the translations.
 
  -- Sven Hoexter <hoexter at debian.org>  Wed, 20 Jan 2010 10:57:26 +0100
 
diff --git a/debian/rules b/debian/rules
index d81c1d7..08a92bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@
 override_dh_auto_install:
 	dh_auto_install
 	install --mode=644 elyxer.py debian/elyxer/usr/bin/elyxer
+	LINGUAS="de es"; \
+	for x in $$LINGUAS; do \
+		mkdir -p debian/elyxer/usr/share/locale/$$x/LC_MESSAGES; \
+		msgfmt -o debian/elyxer/usr/share/locale/$$x/LC_MESSAGES/elyxer.mo po/$$x.po; \
+	done
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/changelog.html

-- 
eLyxer - standalone LyX to html converter



More information about the Pkg-lyx-devel mailing list