Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou authored Mar 21, 2024
1 parent 21cab84 commit 643e6c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ Configuration
In this case, variables like %{share}% or %{lib}% could be very usefull.
You should just give a list with one string that represents path which
prefix is the same with your current switch prefix. For example,
["/absolute-path-to-your-prefix/lib/odoc/odoc.cmi"] or just
["/%{odoc:lib}%/odoc.cmi"]. Those files would be installed in the
directory "opam" at the root of installation directory conserving
entire path (it would be INSTALLDIR/opam/lib/odoc/odoc.cmi for
Expand Down
2 changes: 1 addition & 1 deletion src/opamWixMain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ let create_bundle cli =
The second way is to include any file/directory under opam prefix. In this case, variables like \
$(i,%{share}%) or $(i,%{lib}%) could be very usefull. You should just give a list with one string that \
represents path which prefix is the same with your current switch prefix. For example,
$(b,[\"/absolute-path-to-your-prefix/lib/odoc/odoc.cmi\"]) or just $(b,[\"/%{odoc:lib}%/odoc.cmi\"]). \
$(b,[\"/%{odoc:lib}%/odoc.cmi\"]). \
Those files would be installed in the directory \"opam\" at the root of installation directory conserving
entire path (it would be $(b,INSTALLDIR/opam/lib/odoc/odoc.cmi) for previous example). \
The last way to specify path is very similar with previous, but it takes into account only external to opam files. \
Expand Down

0 comments on commit 643e6c2

Please sign in to comment.