Skip to content

Commit

Permalink
Merge pull request #509 from obophenotype/base
Browse files Browse the repository at this point in the history
Add 'base' release product.
  • Loading branch information
cmungall authored Jun 28, 2018
2 parents c77e7a8 + 82b9904 commit 49c2151
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ SRC=cl-edit.owl
OBO=http://purl.obolibrary.org/obo
USECAT= --catalog-xml catalog-v001.xml
RELEASEDIR=../..
RELEASE_URIBASE= $(OBO)/cl/releases/`date +%Y-%m-%d`

all: all_imports stage

stage: bridge-checks cl.obo cl.owl cl-basic.obo cl-basic.owl cl-obocheck cl-basic-obocheck
stage: bridge-checks cl.obo cl.owl cl-base.owl cl-basic.obo cl-basic.owl cl-obocheck cl-basic-obocheck
release: stage copy-release
copy-release:
cp cl.{obo,owl} cl-basic.{obo,owl} $(RELEASEDIR)
cp cl.{obo,owl} cl-basic.{obo,owl} cl-base.owl $(RELEASEDIR)
cp imports/*{obo,owl} $(RELEASEDIR)/imports

test: all_imports cl.obo
Expand All @@ -28,6 +29,8 @@ cl.owl: build/cl.owl
cp $< $@
cl.obo: build/cl.owl
owltools $(USECAT) $< --add-obo-shorthand-to-properties --merge-imports-closure -o -f obo $@
cl-base.owl: cl-edit.owl
owltools $(USECAT) $< --remove-imports-declarations --set-ontology-id -v $(RELEASE_URIBASE)/$@ $(OBO)/cl/$@ -o $@
cl-basic.owl: build/cl-simple.owl
owltools $< --remove-axioms -t DisjointClasses --set-ontology-id $(OBO)/cl/$@ -o $@
cl-basic.obo: cl-basic.owl
Expand Down

0 comments on commit 49c2151

Please sign in to comment.