TPAC: Standardize i18n file installation
authorDan Scott <dscott@laurentian.ca>
Mon, 20 Aug 2012 18:11:50 +0000 (14:11 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 21 Aug 2012 14:01:11 +0000 (10:01 -0400)
commite0337805221d7465aa3cbf20f36548155e4fa099
treebfef3b92bc462a24de0a0a6e77caa18afa52cff2
parenta575bb9675b33635a15a871cb5538794bf1e64cc
TPAC: Standardize i18n file installation

Make TPAC i18n files act like any other i18n file. In short:

1. When in build/i18n, a 'make LOCALE=fr-CA install' will copy
   the i18n file into the Open-ILS/src/data/locale directory.
2. In the build root, a 'make install' will copy all files from
   Open-ILS/src/data/locale into (by default) the
   /openils/var/data/locale directory.

This also means that when tarballs are created, all of the locales will
get packaged appropriately.

This commit also updates eg_vhost.conf to provide working out-of-the-box
examples for any installed locales, by using the names of the actual
PO files, and adds some contextual comments to explain how the
configuration directives work.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/Makefile.am
build/i18n/Makefile