This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
Here we specify the behaviour of dune install when no install prefix is given.
|
||||
|
||||
$ cat > dune-project << EOF
|
||||
> (lang dune 3.9)
|
||||
> EOF
|
||||
|
||||
$ cat > dune << EOF
|
||||
> (executable
|
||||
> (public_name main))
|
||||
> EOF
|
||||
|
||||
$ cat > main.ml
|
||||
$ cat > proj.opam
|
||||
|
||||
$ dune build @install
|
||||
|
||||
We should suggest to the user here that they should use --prefix.
|
||||
|
||||
$ unset OPAM_SWITCH_PREFIX
|
||||
$ dune install
|
||||
Error: The mandir installation directory is unknown.
|
||||
Hint: It can be specified with '--prefix' or by setting '--mandir'
|
||||
[1]
|
||||
Loading…
Add table
Add a link
Reference in a new issue