Boot.Util
Add a local installation suffix (unless the suffix is itself absolute in which case the prefix does not matter)
The following only makes sense when executables are running from source tree (e.g. during build or in local mode).
check_file_else ~dir ~file oth
checks if file
exists in the installation directory dir
given relatively to coqroot
, which maybe has been relocated. If the check fails, then oth ()
is evaluated. Using file system equality seems well enough for this heuristic