From 63de5ae7ae0f91365d16e77e1f3bd468eb819054 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 7 Feb 2024 20:52:22 +0100 Subject: [PATCH] Use fixed JPageConverter 1.5.06 from UB-Mannheim Signed-off-by: Stefan Weil --- vendor/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vendor/Makefile b/vendor/Makefile index 405f48a..4af3a20 100644 --- a/vendor/Makefile +++ b/vendor/Makefile @@ -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 # {{{ @@ -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 .