From e7d87b6f58c653c3962479f59867397ffc15c32f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 19 Jun 2022 16:04:48 -0400 Subject: implement the new preserve_path kwarg for install_data too Primarily interesting to me because it is then available for the python module's install_sources method. Based on the new feature in install_headers. --- docs/yaml/functions/install_data.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/install_data.yaml b/docs/yaml/functions/install_data.yaml index 3bb9802..191c612 100644 --- a/docs/yaml/functions/install_data.yaml +++ b/docs/yaml/functions/install_data.yaml @@ -43,6 +43,15 @@ kwargs: to install only a subset of the files. By default these files have no install tag which means they are not being installed when `--tags` argument is specified. + preserve_path: + type: bool + since: 0.64.0 + default: false + description: | + Disable stripping child-directories from data files when installing. + + This is equivalent to GNU Automake's `nobase` option. + rename: type: list[str] since: 0.46.0 -- cgit v1.1