TPAC: Standardize i18n file installation user/dbs/fix_tpac_po_install
authorDan Scott <dscott@laurentian.ca>
Mon, 20 Aug 2012 18:11:50 +0000 (14:11 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 20 Aug 2012 18:18:08 +0000 (14:18 -0400)
commit46c283cb66598ba3bc11c563b41ceb354e0de330
tree3b2ed2589a6a03b9c17e7713f7d9b6853a3cbb1f
parent7f7f88959224ed7941017a37adc45a19a98290d6
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>
Open-ILS/examples/apache/eg_vhost.conf
Open-ILS/src/Makefile.am
build/i18n/Makefile