Skip to content

Commit d034f1a

Browse files
authored
Merge pull request #734 from mtzguido/no-lowstar
Makefile: allow skipping krmllib build when LOWSTAR=false
2 parents 7d47749 + 5d44f02 commit d034f1a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ minimal: lib/Version.ml
1919
dune build
2020
ln -sf _build/default/src/Karamel.exe krml
2121

22+
ifneq ($(LOWSTAR),false)
2223
krmllib: minimal
2324
@# Make sure krml can find its relevant directories, since
2425
@# it is not yet installed with them.
@@ -27,6 +28,9 @@ krmllib: minimal
2728
KRML_INCLUDEDIR=$(CURDIR)/include \
2829
KRML_MISCDIR=$(CURDIR)/misc \
2930
$(MAKE) -C krmllib
31+
else
32+
krmllib: minimal
33+
endif
3034

3135
# A full local install. out/ will contain essentially the same directory
3236
# as an OPAM install or binary package.

0 commit comments

Comments
 (0)