From d7472bbf16485e895753c01cc16b576eab823c7e Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 28 Jul 2017 10:48:45 -0500 Subject: file: Clarify directory creation behavior when using WRITE When using `file(WRITE)`, parent directories are also created. Documentation has been updated to explain this behavior. Co-Author: Craig Scott --- Help/command/file.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Help/command/file.rst b/Help/command/file.rst index b2e4eea..e7a5d50 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -13,8 +13,11 @@ File manipulation command. Write ```` into a file called ````. If the file does not exist, it will be created. If the file already exists, ``WRITE`` mode will overwrite it and ``APPEND`` mode will append to the end. -(If the file is a build input, use the :command:`configure_file` command -to update the file only when its content changes.) +Any directories in the path specified by ```` that do not +exist will be created. + +If the file is a build input, use the :command:`configure_file` command +to update the file only when its content changes. ------------------------------------------------------------------------------ -- cgit v0.12