-
Notifications
You must be signed in to change notification settings - Fork 412
/
github1645.t
44 lines (40 loc) · 1.08 KB
/
github1645.t
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
We create two libraries `l.one` and `l.two` with a conflicting module.
They build fine, are not co-linkable, but documentation should be able to be
built. See #1645.
$ cat > dune-project << EOF
> (lang dune 1.0)
> (package (name l))
> EOF
$ mkdir one
$ cat > one/dune << EOF
> (library
> (name l_one)
> (public_name l.one)
> (wrapped false))
> EOF
$ touch one/module.ml
$ mkdir two
$ cat > two/dune << EOF
> (library
> (name l_two)
> (public_name l.two)
> (wrapped false))
> EOF
$ touch two/module.ml
$ dune build @install
$ dune build @doc
Error: Multiple rules generated for
_build/default/_doc/_html/l/Module/index.html:
- <internal location>
- <internal location>
-> required by alias _doc/_html/l/doc
-> required by alias doc
Error: Multiple rules generated for
_build/default/_doc/_odocls/l/module.odocl:
- <internal location>
- <internal location>
-> required by _build/default/_doc/_html/l/db.js
-> required by _build/default/_doc/_html/l/index.html
-> required by alias _doc/_html/l/doc
-> required by alias doc
[1]