mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-11 23:19:04 +08:00
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:
parent
d72a318c5c
commit
1131e5dd2f
@ -43,7 +43,7 @@ langdata = bul.traineddata mlt.traineddata chr.traineddata \
|
|||||||
|
|
||||||
.PHONY: install-langs
|
.PHONY: install-langs
|
||||||
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 \
|
@if test "${LANGS}" != ""; then \
|
||||||
for lang_code in ${LANGS}; do \
|
for lang_code in ${LANGS}; do \
|
||||||
echo "installing data for $$lang_code"; \
|
echo "installing data for $$lang_code"; \
|
||||||
@ -63,5 +63,5 @@ install-langs:
|
|||||||
fi;
|
fi;
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
cd $(datadir); \
|
cd $(DESTDIR)$(datadir); \
|
||||||
rm --force $(DESTDIR)$(langdata)
|
rm --force $(langdata)
|
||||||
|
Loading…
Reference in New Issue
Block a user