Skip to content

Commit

Permalink
fix: man dir for contexts (#7655)
Browse files Browse the repository at this point in the history
it was set to bin/ accidentally

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg authored Apr 28, 2023
1 parent 7467cbb commit 5ae2b3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Unreleased
----------

- Correctly set `MANPATH` in `dune exec`. Previously, we would use the `bin/`
directory of the context. (#7655, @rgrinberg)

- Allow overriding the `ocaml` binary with findlib configuration (#7648,
@rgrinberg)

Expand Down
2 changes: 1 addition & 1 deletion src/dune_rules/local_install_path.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let lib_root ~context = Path.Build.relative (dir ~context) "lib"

let bin_dir ~context = Path.Build.relative (dir ~context) "bin"

let man_dir ~context = Path.Build.relative (dir ~context) "bin"
let man_dir ~context = Path.Build.relative (dir ~context) "man"

let lib_dir ~context ~package =
Path.Build.relative (lib_root ~context) (Package.Name.to_string package)

0 comments on commit 5ae2b3a

Please sign in to comment.