-
Notifications
You must be signed in to change notification settings - Fork 470
Better documentation for install stanza #1123
Copy link
Copy link
Closed
ocaml/opam-repository
#12622Labels
docsDocumentation improvementsDocumentation improvements
Description
I cannot understand documentation, it should contain more examples of stanzas.
My situation: I am getting an error:
wieczyk@tortilla:~/Repozytoria/Uczelnia/xic$ make
dune build
File "source/xic/dune", line 1, characters 0-115:
Error: I can't determine automatically which package this (install ...) stanza is for. I have the choice between these ones:
- xic (because of xic.opam)
- xif (because of xif.opam)
You need to add a (package ...) field in this (install ...) stanza
Makefile:6: recipe for target 'compile' failed
make: *** [compile] Error 1
...where I can see suggestion that I should add package field in the install stanza.
But I have the field in my dune file.
wieczyk@tortilla:~/Repozytoria/Uczelnia/xic$ cat source/xic/dune
(executable
(name xic)
(public_name xic)
(install
(section bin)
(package xic)
)
)
Maybe I cannot understand documentation, but it should work ;/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsDocumentation improvementsDocumentation improvements