Skip to content

Commit

Permalink
Update unison.opam
Browse files Browse the repository at this point in the history
Include NMAKE build option.

Do a manual install for Win32 as there is no automatic installation in
a non-POSIX environment.
  • Loading branch information
tleedjarv committed Dec 20, 2024
1 parent 8db0681 commit 06a21f7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions unison.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ license: "GPL-3.0-or-later"
homepage: "https://www.cis.upenn.edu/~bcpierce/unison/"
bug-reports: "https://github.com/bcpierce00/unison/issues"
dev-repo: "git://github.com/bcpierce00/unison.git"
build: [make "NATIVE=%{ocaml:native}%" "-j" jobs]
install: [make "NATIVE=%{ocaml:native}%" "PREFIX=%{prefix}%" "install"]
build: [
[make "NATIVE=%{ocaml:native}%" "-j" jobs] {!host-system-msvc:installed}
["nmake" "NATIVE=%{ocaml:native}%"] {host-system-msvc:installed}
]
install: [
[make "install" "PREFIX=%{prefix}%"] {os != "win32"}
["cmd" "/c" "copy" "src\\unison*.exe" "%{prefix}%\\bin"] {os = "win32"}
]
depends: [
"ocaml" {>= "4.08"}
]
Expand Down

0 comments on commit 06a21f7

Please sign in to comment.