Debian Codegraph @

Makefile

raw
1 PKGVERSION = $(shell git describe --always)
2 PKGTARBALL = benchmark-$(PKGVERSION).tbz
3
4 DUNE_OPTS?=
5
6 all build byte native:
7 dune build $(DUNE_OPTS) @install @tests @examples
8
9 install uninstall:
10 dune $@
11
12 doc:
13 sed -e 's/1.6-19-gd299f71/$(PKGVERSION)/' benchmark.mli \
14 > _build/default/benchmark.mli
15 dune build $(DUNE_OPTS) @doc
16 @echo '.def { background: #f0f0f0; }' \
17 >> _build/default/_doc/_html/odoc.css
18
19 lint:
20 opam lint benchmark.opam
21
22 clean:
23 dune clean
24
25 WATCH?=@install
26 watch:
27 dune build $(DUNE_OPTS) $(WATCH) -w
28
29
30 .PHONY: all build byte native install uninstall doc lint clean watch