summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-11 14:22:19 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-11 14:22:19 (EDT)
commit8a323ae9d89df045ef1ac43467e819c888073d10 (patch)
tree825bf8ab560bb5a52a42fdf4d83e0e5c7ba40f1b /src
parentbe2ea0a9350187a36000fe24027dbb5d53674e7b (diff)
Set the locale path format.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in3
-rw-r--r--src/oh-installfiles.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 5a924cb..f04d69f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -24,12 +24,15 @@ srcdir = @srcdir@
prefix = @prefix@
bindir = @bindir@
libdir = @libdir@
+datadir = @datadir@
+localedir = @localedir@
libopkbuild_1 = @libopkbuild_1@
sh = @sh@
sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\
s&@@PACKAGE_VERSION@@&$(package_version)&;\
+ s&@@LOCALEDIR@@&$(localedir)&;\
s&@@LIBOPKBUILD_1@@&$(libopkbuild_1)&;\
s&@@SH@@&$(sh)&;
diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh
index 4c8be7d..6c4bcf5 100644
--- a/src/oh-installfiles.sh
+++ b/src/oh-installfiles.sh
@@ -30,6 +30,7 @@ files_ifs='
main()
{
+ ob_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms'
ob_set_text_domain 'opkhelper'
ob_init_package '..'