Skip to content

vendor/Makefile: page-to-alto is phony#154

Merged
stweil merged 1 commit intoUB-Mannheim:masterfrom
bertsky:patch-4
Nov 8, 2022
Merged

vendor/Makefile: page-to-alto is phony#154
stweil merged 1 commit intoUB-Mannheim:masterfrom
bertsky:patch-4

Conversation

@bertsky
Copy link
Copy Markdown
Contributor

@bertsky bertsky commented Nov 7, 2022

fixes #153

Copy link
Copy Markdown
Member

@stweil stweil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure that this is the right fix (even if it seems to fix the problem). gcv2hocr is missing, too. And I also did not find a regression. Did the installation ever work before? If yes, with which version?

#}}}

.PHONY: all check $(PAGE_SCHEMA_REPO) $(ABBYY_SCHEMA_REPO)
.PHONY: all check $(PAGE_SCHEMA_REPO) $(ABBYY_SCHEMA_REPO) page-to-alto
Copy link
Copy Markdown
Member

@stweil stweil Nov 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.PHONY: all check $(PAGE_SCHEMA_REPO) $(ABBYY_SCHEMA_REPO) page-to-alto
.PHONY: all check $(PAGE_SCHEMA_REPO) $(ABBYY_SCHEMA_REPO) page-to-alto gcv2hocr

@stweil
Copy link
Copy Markdown
Member

stweil commented Nov 8, 2022

In the old code the installation of page-to-alto was a side effect of make all. make install (which also respects DESTDIR) had no effect on its installation.

The suggested pull request restores the old behaviour partially. With my addition, it also restores make for gcv2hocr (which is built, but never installed).

@stweil
Copy link
Copy Markdown
Member

stweil commented Nov 8, 2022

gcv2hocr needs one more fix. Therefore I merge now and apply that fix on top.

@stweil stweil merged commit 88a4ded into UB-Mannheim:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regression: page-to-alto is missing

3 participants