From 643e6c2b3ad070f595ea47330cfb42deec66f52a Mon Sep 17 00:00:00 2001 From: "R. Boujbel" Date: Thu, 21 Mar 2024 19:20:37 +0100 Subject: [PATCH] Fix doc --- README.md | 1 - src/opamWixMain.ml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 020cdd6..0fd900e 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/opamWixMain.ml b/src/opamWixMain.ml index dca3652..266fcae 100644 --- a/src/opamWixMain.ml +++ b/src/opamWixMain.ml @@ -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. \