Skip to content

Commit

Permalink
Update cl.Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Jan 23, 2021
1 parent 14b76ba commit de83355
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/ontology/cl.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,16 @@ reports/diff_edit_%.txt: tmp/src-master-%.owl tmp/src-%.owl

branch_diffs: reports/diff_edit_imports.md reports/diff_edit_noimports.md reports/diff_edit_imports.txt reports/diff_edit_noimports.txt

tmp/cl-lastbuild.obo:
$(ROBOT) merge -I $(CL_EDIT_GITHUB_MASTER) -o $@
tmp/cl-current.owl: $(ONT).owl
$(ROBOT) remove -i $< --term rdfs:label --select complement --select annotation-properties \
remove --base-iri $(URIBASE)/CL_ --axioms external -o $@

tmp/cl-lastbuild.owl: .FORCE
$(ROBOT) remove -I $(URIBASE)/$(ONT).owl --term rdfs:label --select complement --select annotation-properties \
remove --base-iri $(URIBASE)/CL_ --axioms external -o $@

reports/obo-diff.txt: tmp/cl-lastbuild.obo
perl ../scripts/obo-simple-diff.pl $< cl.obo > $@.tmp && mv $@.tmp $@
reports/obo-diff.txt: tmp/cl-lastbuild.owl tmp/cl-current.owl
$(ROBOT) diff --left $< --right tmp/cl-current.owl -f markdown -o $@
#perl ../scripts/obo-simple-diff.pl $^ > [email protected] && mv [email protected] $@

all_reports: reports/obo-diff.txt

0 comments on commit de83355

Please sign in to comment.