addition to Issue 724

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@731 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop 2012-07-04 15:35:26 +00:00
parent d72a318c5c
commit 1131e5dd2f

View File

@ -43,7 +43,7 @@ langdata = bul.traineddata mlt.traineddata chr.traineddata \
.PHONY: install-langs
install-langs:
@if [ ! -d $(datadir) ]; then mkdir -p $(datadir); fi;
@if [ ! -d $(DESTDIR)$(datadir) ]; then mkdir -p $(DESTDIR)$(datadir); fi;
@if test "${LANGS}" != ""; then \
for lang_code in ${LANGS}; do \
echo "installing data for $$lang_code"; \
@ -63,5 +63,5 @@ install-langs:
fi;
uninstall-local:
cd $(datadir); \
rm --force $(DESTDIR)$(langdata)
cd $(DESTDIR)$(datadir); \
rm --force $(langdata)