Skip to content

Commit 39aaad2

Browse files
authored
Refactor Makefile by removing phony target
Removed the 'update-ontology-annotations' phony target and adjusted the 'all_assets' target accordingly.
1 parent 028e82a commit 39aaad2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ontology/cryo.Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,13 @@ ALL_ANNOTATIONS=--ontology-iri https://w3id.org/pmd/cryo/ -V https://w3id.org/pm
6464
--annotation http://purl.org/dc/terms/bibliographicCitation "$(CITATION)" \
6565
--link-annotation owl:priorVersion https://w3id.org/pmd/cryo/$(PRIOR_VERSION)
6666

67-
.PHONY: update-ontology-annotations
6867
update-ontology-annotations:
6968
$(ROBOT) annotate --input cryo.owl $(ALL_ANNOTATIONS) --output ../../cryo.owl
7069
$(ROBOT) annotate --input cryo.ttl $(ALL_ANNOTATIONS) --output ../../cryo.ttl
7170
$(ROBOT) annotate --input cryo-full.owl $(ALL_ANNOTATIONS) --output ../../cryo-full.owl
7271
$(ROBOT) annotate --input cryo-full.ttl $(ALL_ANNOTATIONS) --output ../../cryo-full.ttl
7372
$(ROBOT) annotate --input cryo-base.owl $(ALL_ANNOTATIONS) --output ../../cryo-base.owl
7473
$(ROBOT) annotate --input cryo-base.ttl $(ALL_ANNOTATIONS) --output ../../cryo-base.ttl
75-
@if [ -f cryo-simple.owl ]; then $(ROBOT) annotate --input cryo-simple.owl $(ALL_ANNOTATIONS) --output ../../cryo-simple.owl; fi
7674

77-
all_assets: update-ontology-annotations
75+
all_assets:: update-ontology-annotations
7876

0 commit comments

Comments
 (0)