From ec032df8c466d632a225ed06dd4522e61f612afc Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 14 Mar 2024 22:41:03 +0100 Subject: [PATCH] Fix build for ocrd_tesserocr (fixes issue #420) `make all` did not build ocrd_tesserocr if it was started without a virtual Python environment because ocrd_tesserocr requires a venv for building. Signed-off-by: Stefan Weil --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a935a330..738389c2 100644 --- a/Makefile +++ b/Makefile @@ -483,7 +483,7 @@ TESSTRAIN_EXECUTABLES += $(BIN)/text2image TESSTRAIN_EXECUTABLES += $(BIN)/unicharset_extractor TESSTRAIN_EXECUTABLES += $(BIN)/wordlist2dawg $(call multirule,$(OCRD_TESSEROCR)): ocrd_tesserocr $(BIN)/ocrd - $(MAKE) -C $< install # install-tesseract-training + . $(ACTIVATE_VENV) && $(MAKE) -C $< install # install-tesseract-training endif clean: clean-tesseract