make git submodule update depend on subdir

This commit is contained in:
Robert Sachunsky 2023-04-13 21:12:34 +02:00
parent b1bcc7f042
commit 01fc36a960
3 changed files with 3 additions and 6 deletions

View file

@ -24,13 +24,13 @@ install:
models:
ocrd resmgr download ocrd-sbb-binarize "*"
repo/assets:
repo/assets/data:
git submodule update --init
# Setup test data
test/assets: repo/assets
test/assets: repo/assets/data
@mkdir -p $@
cp -r -t $@ repo/assets/data/*
cp -r -t $@ $</*
# Run tests
.PHONY: test