Skip to content

Commit

Permalink
Merge pull request #48 from zuphilip/fix-travis
Browse files Browse the repository at this point in the history
Update Makefile for new version hocr-to-ALTO 1.3.2
  • Loading branch information
stweil authored Feb 12, 2017
2 parents 513049d + 2f3824d commit ef6f784
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ dist: trusty
sudo: true
script:
- make all
- cd example && make deps roundtrip
- cd example && make deps roundtrip diff
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ xsd: vendor
.PHONY: xslt
xslt: vendor
$(MKDIR) xslt
# symlink hocr<->alto
# symlink hocr<->alto as well as the language codes lookup xml
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/hocr2alto2.0.xsl hocr__alto2.0.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/hocr2alto2.1.xsl hocr__alto2.1.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/alto2hocr.xsl alto2.0__hocr.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/alto2hocr.xsl alto2.1__hocr.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/hocr2text.xsl hocr__text.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/alto2text.xsl alto__text.xsl
cd xslt && $(LN) ../vendor/hOCR-to-ALTO/codes_lookup.xml codes_lookup.xml
cd xslt && $(LN) alto2.0__alto3.0.xsl alto2.0__alto3.1.xsl
cd xslt && $(LN) alto2.0__alto3.0.xsl alto2.1__alto3.0.xsl
cd xslt && $(LN) alto2.0__alto3.0.xsl alto2.1__alto3.1.xsl
Expand Down
2 changes: 1 addition & 1 deletion vendor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ABBYY_SCHEMA_BASE_URL = http://fr7.abbyy.com/FineReader_xml/FineReader
ABBYY_SCHEMA_VERSIONS = 6-schema-v1 8-schema-v2 9-schema-v1 10-schema-v1

HOCR2ALTO_REPO = hOCR-to-ALTO
HOCR2ALTO_URL = https://github.com/kba/$(HOCR2ALTO_REPO)
HOCR2ALTO_URL = https://github.com/filak/$(HOCR2ALTO_REPO)

HOCR_SPEC_REPO = hocr-spec-python
HOCR_SPEC_URL = https://github.com/kba/$(HOCR_SPEC_REPO)
Expand Down

0 comments on commit ef6f784

Please sign in to comment.