File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ Description:
28
28
elt = XML.elt and type 'a attrib = XML.attrib with 'a set to
29
29
appropriate polymorphic variants.
30
30
31
+ Flag syntax
32
+ Description: Build the camlp4 syntax extension.
33
+ Default: true
34
+
31
35
Library tyxml
32
36
FindlibName: tyxml
33
37
Path: lib
@@ -67,6 +71,7 @@ Library tyxml_f
67
71
Html5_f
68
72
69
73
Library pa_tyxml
74
+ Build$: flag(syntax)
70
75
FindlibName: syntax
71
76
FindlibParent: tyxml
72
77
XMETAType: syntax
@@ -85,6 +90,7 @@ Library pa_tyxml
85
90
Pack: true
86
91
87
92
Library tymlx_p
93
+ Build$: flag(syntax)
88
94
FindlibName: parser
89
95
FindlibParent: tyxml
90
96
XMETADescription:
Original file line number Diff line number Diff line change 1
1
opam-version: "1"
2
2
3
3
build: [
4
- ["%{make}%"]
5
- ["%{make}%" "install"]
4
+ ["./configure"
5
+ "--%{camlp4:enable}%-syntax"
6
+ "--prefix" prefix]
7
+ [make]
8
+ [make "install"]
6
9
]
7
10
remove: [
8
11
["ocamlfind" "remove" "tyxml"]
9
12
]
10
13
depends: [
11
14
"ocamlfind"
12
15
]
16
+ depopts: [
17
+ "camlp4"
18
+ ]
You can’t perform that action at this time.
0 commit comments