Protect against installs with no locales
authorDan Scott <dscott@laurentian.ca>
Tue, 21 Aug 2012 21:23:26 +0000 (17:23 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 23 Aug 2012 13:29:38 +0000 (09:29 -0400)
commit35c090e6d78193b43c0491d367c43df67fdc9891
treecc88fe86559b41b8c6405cf8dfa4477bf5243873
parent1487d9b34a9e92e14b7998799153977e9e86512b
Protect against installs with no locales

Installs from source outside of tarballs may not have a built locale,
which would result in a make error and an aborted install. Protect
against that by checking for the existence of the locale install
directory before trying to copy the files into place.

In the weird case that Open-ILS/src/data/locale has been generated but
there are no files in it, protect against erroring out via the judicious
application of the - flag.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/Makefile.am

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/Makefile.am