From 684474eca63c32bf6d74c865430c03ead932ecc7 Mon Sep 17 00:00:00 2001 From: Supreeeme Date: Sun, 28 Sep 2025 17:37:43 -0400 Subject: Document that custom_target outputs cannot be in a subdirectory --- docs/yaml/functions/custom_target.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/yaml/functions/custom_target.yaml b/docs/yaml/functions/custom_target.yaml index 094787bbe..5836bb764 100644 --- a/docs/yaml/functions/custom_target.yaml +++ b/docs/yaml/functions/custom_target.yaml @@ -12,6 +12,10 @@ description: | custom_target('foo', output: 'file.txt', ...) ``` + The files passed to `output:` cannot contain path separators. See the + [manual on custom build targets](Custom-build-targets.md#details-on-command-invocation) for + an explanation on where output files should be placed. + You can install the outputted files with the `install_dir:` kwarg, see below. *Since 0.60.0* the name argument is optional and defaults to the basename of the first @@ -217,7 +221,8 @@ kwargs: output: type: array[str] - description: Array of output files. + description: | + Array of output files. These cannot contain path separators. env: since: 0.57.0 -- cgit v1.2.3