Skip to content

Commit

Permalink
Fix build for ocrd_tesserocr (fixes issue #420)
Browse files Browse the repository at this point in the history
`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 <[email protected]>
  • Loading branch information
stweil committed Mar 18, 2024
1 parent 3a47179 commit f35a4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,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
Expand Down

0 comments on commit f35a4fd

Please sign in to comment.