Skip to content

Commit

Permalink
fix(makefile): ensure gen-owl output
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Feb 27, 2024
1 parent 57766a6 commit 3722115
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{cookiecutter.project_name}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ gen-project: $(PYMODEL)

# non-empty arg triggers owl (workaround https://github.com/linkml/linkml/issues/1453)
ifneq ($(strip ${GEN_OWL_ARGS}),)
$(RUN) gen-owl ${GEN_OWL_ARGS} -o ${DEST}/owl/${SCHEMA_NAME}.owl.ttl $(SOURCE_SCHEMA_PATH)
mkdir -p ${DEST}/owl || true
$(RUN) gen-owl ${GEN_OWL_ARGS} $(SOURCE_SCHEMA_PATH) >${DEST}/owl/${SCHEMA_NAME}.owl.ttl
endif
# non-empty arg triggers java
ifneq ($(strip ${GEN_JAVA_ARGS}),)
Expand Down

0 comments on commit 3722115

Please sign in to comment.