mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-04 01:39:16 +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
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user