Skip to content

Commit

Permalink
Merge pull request #194 from mseri/master
Browse files Browse the repository at this point in the history
Makefile: do not use --dev in the release build
  • Loading branch information
mseri committed Jan 19, 2018
2 parents 9db3f9c + df1eb2d commit 0d8714a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ OPAM_LIBDIR=$(DESTDIR)$(shell opam config var lib)

.PHONY: build release install uninstall clean test doc reindent

release:
jbuilder build @install -j $$(getconf _NPROCESSORS_ONLN)

build:
jbuilder build @install --dev -j $$(getconf _NPROCESSORS_ONLN)

release:
jbuilder build @install

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

runtime-coverage:
BISECT_RUNTIME=YES make

.DEFAULT_GOAL := release

0 comments on commit 0d8714a

Please sign in to comment.