diff --git a/Makefile b/Makefile index 48d82d829..5fda05eb7 100644 --- a/Makefile +++ b/Makefile @@ -56,9 +56,14 @@ deps-pip-test: install: spec $(PIP) install . - +# Regenerate python code from PAGE XSD generate-page: repo/assets - generateDS -o ocrd/model/ocrd_page.py repo/assets/data/schema/2017-07-15.xsd + generateDS \ + -f \ + --no-namespace-defs \ + --root-element='PcGts' \ + -o ocrd/model/ocrd_page_generateds.py \ + repo/assets/data/schema/2017-07-15.xsd # # Repos