Skip to content

Commit

Permalink
Use fixed JPageConverter 1.5.06 from UB-Mannheim
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Feb 7, 2024
1 parent 3fb271b commit 63de5ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vendor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ ABBYY_SCHEMA_BASE_URL = https://fr7.abbyy.com/FineReader_xml/FineReader
ABBYY_SCHEMA_VERSIONS = 6-schema-v1 8-schema-v2 9-schema-v1 10-schema-v1

ALTO2PAGE_VERSION_MAJOR_MINOR = 1.5
ALTO2PAGE_VERSION = $(ALTO2PAGE_VERSION_MAJOR_MINOR).05
ALTO2PAGE_VERSION = $(ALTO2PAGE_VERSION_MAJOR_MINOR).06
ALTO2PAGE_ZIP = JPageConverter.zip
ALTO2PAGE_URL = https://github.com/PRImA-Research-Lab/prima-page-converter/releases/download/$(ALTO2PAGE_VERSION)/JPageConverter_$(ALTO2PAGE_VERSION).zip
ALTO2PAGE_URL = https://github.com/UB-Mannheim/prima-page-converter/releases/download/$(ALTO2PAGE_VERSION)/JPageConverter_$(ALTO2PAGE_VERSION).zip
ALTO2PAGE_DIR = JPageConverter

# {{{
Expand Down Expand Up @@ -91,7 +91,8 @@ $(ALTO2PAGE_ZIP):

$(ALTO2PAGE_DIR): $(ALTO2PAGE_ZIP)
$(UNZIP) "$<"
mv "JPageConverter $(ALTO2PAGE_VERSION_MAJOR_MINOR)" "$@"
rm -rf "$@"
mv "JPageConverter $(ALTO2PAGE_VERSION)" "$@"

page-to-alto:
cd "$@"; $(PIP) install .
Expand Down

0 comments on commit 63de5ae

Please sign in to comment.