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 configfile
$ cat >dune <<EOF
> (install
> (section etc)
> (files configfile))
> EOF
$ dune build @install
$ mkdir install etcdir
$ dune install --dry-run --prefix ./install --etcdir $PWD/etcdir --display short 2>&1 | grep etcdir
Removing (if it exists) $TESTCASE_ROOT/etcdir/foo/configfile
Installing $TESTCASE_ROOT/etcdir/foo/configfile
Creating directory $TESTCASE_ROOT/etcdir/foo
Copying _build/install/default/etc/foo/configfile to $TESTCASE_ROOT/etcdir/foo/configfile (executable: false)