Protect against installs with no locales
authorDan Scott <dscott@laurentian.ca>
Tue, 21 Aug 2012 21:23:26 +0000 (17:23 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 21 Aug 2012 21:38:45 +0000 (17:38 -0400)
commit76f5c80907fd87b5654ec72d7f08b3d90f44e141
treef14f91e41b99b4dc474daafdf3c8e160886916cb
parenteb11f49633f496ef59f4b50d224cc79256d94e42
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>
Open-ILS/src/Makefile.am