tests: use git to track regression output
[sqlgg.git] / Makefile
blob0eda68ee0cd42f99e4ccd31e28c80b6101628842
2 # OASIS_START
3 # DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)
5 SETUP = ocaml setup.ml
7 build: setup.data
8 $(SETUP) -build $(BUILDFLAGS)
10 doc: setup.data build
11 $(SETUP) -doc $(DOCFLAGS)
13 test: setup.data build
14 $(SETUP) -test $(TESTFLAGS)
16 all:
17 $(SETUP) -all $(ALLFLAGS)
19 install: setup.data
20 $(SETUP) -install $(INSTALLFLAGS)
22 uninstall: setup.data
23 $(SETUP) -uninstall $(UNINSTALLFLAGS)
25 reinstall: setup.data
26 $(SETUP) -reinstall $(REINSTALLFLAGS)
28 clean:
29 $(SETUP) -clean $(CLEANFLAGS)
31 distclean:
32 $(SETUP) -distclean $(DISTCLEANFLAGS)
34 setup.data:
35 $(SETUP) -configure $(CONFIGUREFLAGS)
37 configure:
38 $(SETUP) -configure $(CONFIGUREFLAGS)
40 .PHONY: build doc test all install uninstall reinstall clean distclean configure
42 # OASIS_STOP
44 .PHONY: top
45 top:
46 $(SETUP) -build src/sqlgg.top
48 VERSION=$(shell oasis query version)
49 NAME=sqlgg-$(VERSION)
51 .PHONY: release
52 release:
53 git tag -a -m $(VERSION) $(VERSION)
54 git archive --prefix=$(NAME)/ $(VERSION) | gzip > $(NAME).tar.gz
55 gpg -a -b $(NAME).tar.gz