install_emptydir()

Installs a new directory entry to the location specified by the positional argument. If the directory exists and is not empty, the contents are left in place.

Signature

(since 0.60.0)

# Installs a new directory entry to the location specified by the positional
void install_emptydir(
  str dirpath...,  # Directory to create during installation

  # Keyword arguments:
  install_mode : array[str | int]  # Specify the file mode in symbolic format and optionally the owner/uid and
  install_tag  : str               # A string used by the `meson install --tags` command to install only a
)

Arguments

The function accepts between 0 and infinity variadic arguments (dirpath...) of type str.

Directory to create during installation.

The function install_emptydir() accepts the following keyword arguments:

Name Type Description Tags
install_mode array[str | int]

Specify the file mode in symbolic format and optionally the owner/uid and group/gid for the created directory.

See the install_mode kwarg of install_data() for more information.

install_tag str

A string used by the meson install --tags command to install only a subset of the files. By default this directory has no install tag which means it is not installed when the --tags argument is specified.

The results of the search are