From 795e7b44f28923db56801c455cfada023499fc80 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Fri, 6 Sep 2024 15:48:38 +1000 Subject: [PATCH] Help: file(CONFIGURE) only updates output file timestamp if it changes --- Help/command/file.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Help/command/file.rst b/Help/command/file.rst index 5b9dfac5a0..34e97e7f56 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -302,7 +302,9 @@ Writing variable values referenced as ``@VAR@`` or ``${VAR}`` contained therein. The substitution rules behave the same as the :command:`configure_file` command. In order to match :command:`configure_file`'s behavior, generator expressions - are not supported for both ``OUTPUT`` and ``CONTENT``. + are not supported for both ``OUTPUT`` and ``CONTENT``, and the output file + is only modified and its timestamp updated if the content is changed or the + file previously didn't exist. The arguments are: