This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,14 @@
$ echo "(lang dune 2.0)" > dune-project
$ touch foo.opam docfile
$ cat >dune <<EOF
> (install
> (section doc)
> (files docfile))
> EOF
$ dune build @install
$ mkdir install docdir
$ dune install --dry-run --prefix ./install --docdir $PWD/docdir --display short 2>&1 | grep docdir
Removing (if it exists) $TESTCASE_ROOT/docdir/foo/docfile
Installing $TESTCASE_ROOT/docdir/foo/docfile
Creating directory $TESTCASE_ROOT/docdir/foo
Copying _build/install/default/doc/foo/docfile to $TESTCASE_ROOT/docdir/foo/docfile (executable: false)