TPAC: Standardize i18n file installation
authorDan Scott <dscott@laurentian.ca>
Mon, 20 Aug 2012 18:11:50 +0000 (14:11 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 23 Aug 2012 13:28:53 +0000 (09:28 -0400)
commit1487d9b34a9e92e14b7998799153977e9e86512b
treef1ed9a26d079d5e58f454236ae2f6da72e7ccf23
parent71cefad9f59daa294b47cef10eff483913fbbc92
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>
Conflicts:
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/Makefile.am

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