diff build-aux/common.mk @ 15971:e27d9b9b71f4

gui: install translation files into $(datadir)/octave/$(version)/locale * build-aux/common.mk: define octlocaledir * configure.ac: default for octlocaledir is '$(datadir)/octave/$(version)/locale * libgui/Makefile.am: octlocale_DATA is the list of translation files * libinterp/interpfcn/defaults.cc: define Voct_locale_dir * libinterp/interpfcn/defaults.cc(set_default_oct_locale_dir): new function; * libinterp/interpfcn/defaults.cc(install_defaults): call set_default_oct_locale_dir () * libinterp/interpfcn/defaults.in.h: define OCTAVE_OCTLOCALEDIR, declare Voct_locale_dir * run-octave.in: set OCTAVE_LOCALE_DIR to $top_srcdir/libgui/languages * libgui/languages/generic.*: renamed into en_US.* * libgui/languages/translators: updated comment related to generic file
author Torsten <ttl@justmail.de>
date Sat, 19 Jan 2013 16:21:46 +0100
parents 139f4b19a3ac
children 5b2126a8c84f
line wrap: on
line diff
--- a/build-aux/common.mk	Mon Jan 21 16:11:01 2013 -0500
+++ b/build-aux/common.mk	Sat Jan 19 16:21:46 2013 +0100
@@ -342,6 +342,9 @@
 # Where to install and expect extra files like NEWS and doc-cache.
 octetcdir = @octetcdir@
 
+# Where to install and expect the language files for the gui.
+octlocaledir = @octlocaledir@
+
 # Where to install and expect libraries like liboctave.a, liboctinterp.a,
 # and other architecture-dependent data.
 octlibdir = @octlibdir@
@@ -673,6 +676,7 @@
   -e "s|%OCTAVE_OCTETCDIR%|\"${octetcdir}\"|" \
   -e "s|%OCTAVE_OCTINCLUDEDIR%|\"${octincludedir}\"|" \
   -e "s|%OCTAVE_OCTLIBDIR%|\"${octlibdir}\"|" \
+  -e "s|%OCTAVE_OCTLOCALEDIR%|\"${octlocaledir}\"|" \
   -e "s|%OCTAVE_STARTUPFILEDIR%|\"${startupfiledir}\"|" \
   -e "s|%OCTAVE_PREFIX%|\"${prefix}\"|" \
   -e "s|%OCTAVE_API_VERSION%|\"${api_version}\"|" \