Skip to content

Commit f243fc1

Browse files
committed
Misc: fix install
1 parent 02b4aa7 commit f243fc1

7 files changed

Lines changed: 26 additions & 26 deletions

File tree

compiler/bin-js_of_ocaml/dune

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@
4747
./js_of_ocaml.exe:js_of_ocaml
4848
cmdliner-support))))
4949

50-
(install
51-
(section share_root)
52-
(package js_of_ocaml-compiler)
53-
(dirs
54-
(cmdliner-support/share as .)))
50+
;; Restore once fixed in dune
51+
;; (install
52+
;; (section share_root)
53+
;; (package js_of_ocaml-compiler)
54+
;; (dirs
55+
;; (cmdliner-support/share as .)))

compiler/bin-jsoo_minify/dune

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,3 @@
55
(libraries jsoo_cmdline js_of_ocaml-compiler cmdliner compiler-libs.common)
66
(flags
77
(:standard -safe-string)))
8-
9-
(rule
10-
(targets jsoo_minify.1)
11-
(action
12-
(with-stdout-to
13-
%{targets}
14-
(run %{bin:jsoo_minify} --help=groff))))
15-
16-
(install
17-
(section man)
18-
(package js_of_ocaml-compiler)
19-
(files jsoo_minify.1))

compiler/bin-wasm_of_ocaml/dune

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@
4848
./wasm_of_ocaml.exe:wasm_of_ocaml
4949
cmdliner-support))))
5050

51-
(install
52-
(section share_root)
53-
(package wasm_of_ocaml-compiler)
54-
(dirs
55-
(cmdliner-support/share as .)))
51+
;; Restore once fixed in dune
52+
;; (install
53+
;; (section share_root)
54+
;; (package wasm_of_ocaml-compiler)
55+
;; (dirs
56+
;; (cmdliner-support/share as .)))

js_of_ocaml-compiler.opam

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ build: [
4949
["cmdliner" "install" "tool-support"
5050
"--update-opam-install=%{_:name}%.install"
5151
"_build/install/default/bin/js_of_ocaml" {os-family != "windows"}
52-
"_build/install/default/bin/js_of_ocaml.exe" {os-family = "windows"}
52+
"_build/install/default/bin/js_of_ocaml.exe:js_of_ocaml" {os-family = "windows"}
53+
"_build/cmdliner-install"]
54+
["cmdliner" "install" "tool-support"
55+
"--update-opam-install=%{_:name}%.install"
56+
"_build/install/default/bin/jsoo_minify" {os-family != "windows"}
57+
"_build/install/default/bin/jsoo_minify.exe:jsoo_minify" {os-family = "windows"}
5358
"_build/cmdliner-install"]
5459
]

js_of_ocaml-compiler.opam.template

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ build: [
1212
["cmdliner" "install" "tool-support"
1313
"--update-opam-install=%{_:name}%.install"
1414
"_build/install/default/bin/js_of_ocaml" {os-family != "windows"}
15-
"_build/install/default/bin/js_of_ocaml.exe" {os-family = "windows"}
15+
"_build/install/default/bin/js_of_ocaml.exe:js_of_ocaml" {os-family = "windows"}
16+
"_build/cmdliner-install"]
17+
["cmdliner" "install" "tool-support"
18+
"--update-opam-install=%{_:name}%.install"
19+
"_build/install/default/bin/jsoo_minify" {os-family != "windows"}
20+
"_build/install/default/bin/jsoo_minify.exe:jsoo_minify" {os-family = "windows"}
1621
"_build/cmdliner-install"]
1722
]

wasm_of_ocaml-compiler.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ build: [
5050
["cmdliner" "install" "tool-support"
5151
"--update-opam-install=%{_:name}%.install"
5252
"_build/install/default/bin/wasm_of_ocaml" {os-family != "windows"}
53-
"_build/install/default/bin/wasm_of_ocaml.exe" {os-family = "windows"}
53+
"_build/install/default/bin/wasm_of_ocaml.exe:wasm_of_ocaml" {os-family = "windows"}
5454
"_build/cmdliner-install"]
5555
]

wasm_of_ocaml-compiler.opam.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ build: [
1212
["cmdliner" "install" "tool-support"
1313
"--update-opam-install=%{_:name}%.install"
1414
"_build/install/default/bin/wasm_of_ocaml" {os-family != "windows"}
15-
"_build/install/default/bin/wasm_of_ocaml.exe" {os-family = "windows"}
15+
"_build/install/default/bin/wasm_of_ocaml.exe:wasm_of_ocaml" {os-family = "windows"}
1616
"_build/cmdliner-install"]
1717
]

0 commit comments

Comments
 (0)