Skip to content

Commit 0d8714a

Browse files
authored
Merge pull request #194 from mseri/master
Makefile: do not use --dev in the release build
2 parents 9db3f9c + df1eb2d commit 0d8714a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ OPAM_LIBDIR=$(DESTDIR)$(shell opam config var lib)
33

44
.PHONY: build release install uninstall clean test doc reindent
55

6+
release:
7+
jbuilder build @install -j $$(getconf _NPROCESSORS_ONLN)
8+
69
build:
710
jbuilder build @install --dev -j $$(getconf _NPROCESSORS_ONLN)
811

9-
release:
10-
jbuilder build @install
1112

1213
install:
1314
jbuilder install --prefix=$(OPAM_PREFIX) --libdir=$(OPAM_LIBDIR)
@@ -33,3 +34,5 @@ reindent:
3334

3435
runtime-coverage:
3536
BISECT_RUNTIME=YES make
37+
38+
.DEFAULT_GOAL := release

0 commit comments

Comments
 (0)