From 38aae609df31400eaa03aa4aaecaa566a6c7a6a4 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Thu, 1 Aug 2024 12:32:05 -0400 Subject: [PATCH] Help(install): Move RENAME docs to FILES signature The document's intro claims that the options documented up top are the ones common to multiple signatures, but `RENAME` is only valid for `install(FILES ...)`. Move it to that section of the docs. --- Help/command/install.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Help/command/install.rst b/Help/command/install.rst index ffc192662e..a2e7491053 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -111,11 +111,6 @@ signatures that specify them. The common options are: Specify that the file is excluded from a full installation and only installed as part of a component-specific installation -``RENAME `` - Specify a name for an installed file that may be different from the - original file. Renaming is allowed only when a single file is - installed by the command. - ``OPTIONAL`` Specify that it is not an error if the file to be installed does not exist. @@ -543,6 +538,10 @@ Signatures However, if any item begins in a generator expression it must evaluate to a full path. + The optional ``RENAME `` argument is used to specify a name for the + installed file that is different from the original file name. Renaming + is allowed only when a single file is installed by the command. + Either a ``TYPE`` or a ``DESTINATION`` must be provided, but not both. A ``TYPE`` argument specifies the generic file type of the files being installed. A destination will then be set automatically by taking the