[Tux4kids-commits] r153 - tuxmath/trunk
Karl Ove Hufthammer
huftis-guest at alioth.debian.org
Sat Apr 14 19:09:08 UTC 2007
Author: huftis-guest
Date: 2007-04-14 19:09:08 +0000 (Sat, 14 Apr 2007)
New Revision: 153
Modified:
tuxmath/trunk/Makefile.am
Log:
Added translation installation to makefile.
Modified: tuxmath/trunk/Makefile.am
===================================================================
--- tuxmath/trunk/Makefile.am 2007-04-12 10:42:58 UTC (rev 152)
+++ tuxmath/trunk/Makefile.am 2007-04-14 19:09:08 UTC (rev 153)
@@ -5,6 +5,8 @@
NSI_INSTALL_DIR=@NSI_INSTALL_DIR@
NSI_DLL_DIR=@NSI_DLL_DIR@
NSI_TUXMATH_CONF_DIR=@NSI_TUXMATH_CONF_DIR@
+datadir = @datadir@
+localedir = $(datadir)/locale
install-data-local:
@$(NORMAL_INSTALL)
@@ -12,6 +14,10 @@
$(mkinstalldirs) $(DESTDIR)/$(pkgdatadir); \
cd $(srcdir)/$(PACKAGE_DATA_DIR) ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude \ "Makefile" --exclude "Makefile.am" --exclude CVS --exclude .xvpics --exclude "1[1-9].ogg" --exclude "2?.ogg" --exclude "*.svn*" * \
| ( cd $(DESTDIR)/$(pkgdatadir) ; tar xf -) ; cd .. ; \
+ cd src/po ; \
+ for i in *.po; do langcode=$$(echo $$i | sed 's/\.po//'); \
+ msgfmt -o $(localedir)/$$langcode/LC_MESSAGES/tuxmath.mo $$langcode.po; \
+ done; \
fi
install-nsi-local: all
More information about the Tux4kids-commits
mailing list