Generation of opam files is attached to @all
--------------------------------------------
Reproduction case for #2927

  $ mkdir attached-to-all
  $ cat >attached-to-all/dune-project <<EOF
  > (lang dune 2.0)
  > (generate_opam_files true)
  > (package (name foo))
  > EOF

  $ cd attached-to-all && dune build

  $ cat attached-to-all/foo.opam
  cat: attached-to-all/foo.opam: No such file or directory
  [1]

Generation of opam files is attached to @all
--------------------------------------------
Reproduction case for #2927

  $ cat >dune-project <<EOF
  > (lang dune 2.0)
  > (generate_opam_files true)
  > (package (name foo))
  > EOF

  $ dune build

  $ cat foo.opam
  # This file is generated by dune, edit dune-project instead
  opam-version: "2.0"
  depends: [
    "dune" {>= "2.0"}
  ]
  build: [
    ["dune" "subst"] {pinned}
    [
      "dune"
      "build"
      "-p"
      name
      "-j"
      jobs
      "@install"
      "@runtest" {with-test}
      "@doc" {with-doc}
    ]
  ]

Remove unnecessary subdirs in test 2927
Remove unnecessary subdirs in test 2927

Signed-off-by: Rudi Grinberg <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@rgrinberg.com>
