create .mo links at configure time,
so that message catalogs can be found in build dir
This commit is contained in:
parent
90bb503e80
commit
800f904fdc
2 changed files with 34 additions and 0 deletions
17
configure
vendored
17
configure
vendored
|
@ -16226,6 +16226,23 @@ fi
|
|||
fi
|
||||
|
||||
|
||||
|
||||
#######################################################################
|
||||
# Symlinks that allow message catalogs to be used from build tree #
|
||||
#######################################################################
|
||||
|
||||
set -x
|
||||
for lang in `cat po/LINGUAS`
|
||||
do
|
||||
mkdir -p po/$lang/LC_MESSAGES
|
||||
rm -f po/$lang/LC_MESSAGES/*
|
||||
for domain in `cat po/DOMAINS`
|
||||
do
|
||||
ln -s ../$domain.gmo po/$lang/LC_MESSAGES/$domain.mo
|
||||
done
|
||||
done
|
||||
set +x
|
||||
|
||||
#######################################################################
|
||||
# Data file substitution. #
|
||||
#######################################################################
|
||||
|
|
17
configure.ac
17
configure.ac
|
@ -544,6 +544,23 @@ if test "x$lite" = "xno"; then
|
|||
fi
|
||||
|
||||
|
||||
|
||||
#######################################################################
|
||||
# Symlinks that allow message catalogs to be used from build tree #
|
||||
#######################################################################
|
||||
|
||||
set -x
|
||||
for lang in `cat po/LINGUAS`
|
||||
do
|
||||
mkdir -p po/$lang/LC_MESSAGES
|
||||
rm -f po/$lang/LC_MESSAGES/*
|
||||
for domain in `cat po/DOMAINS`
|
||||
do
|
||||
ln -s ../$domain.gmo po/$lang/LC_MESSAGES/$domain.mo
|
||||
done
|
||||
done
|
||||
set +x
|
||||
|
||||
#######################################################################
|
||||
# Data file substitution. #
|
||||
#######################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue