We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03f01c8 + ce235a9 commit cffaf72Copy full SHA for cffaf72
Makefile
@@ -1,3 +1,6 @@
1
+OPAM_PREFIX=$(DESTDIR)$(shell opam config var prefix)
2
+OPAM_LIBDIR=$(DESTDIR)$(shell opam config var lib)
3
+
4
.PHONY: build release install uninstall clean test doc reindent
5
6
build:
@@ -7,7 +10,7 @@ release:
7
10
jbuilder build @install
8
11
9
12
install:
- jbuilder install
13
+ jbuilder install --prefix=$(OPAM_PREFIX) --libdir=$(OPAM_LIBDIR)
14
15
uninstall:
16
jbuilder uninstall
0 commit comments