Skip to content

Commit

Permalink
Add 'base' release product.
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff committed Jun 28, 2018
1 parent c77e7a8 commit 82b9904
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ontology/Makefile
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 82b9904

Please sign in to comment.