diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2015-12-06 19:30:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-07 15:51:27 (GMT) |
commit | 98be140fc0dc0bab8955c4fea9274ea52ac8cd9c (patch) | |
tree | 9d927796c0933d7d7281a0ce466aec3d31da6675 /Help | |
parent | 93cc80aee59cfb328d541ba527d40239ab8348b1 (diff) | |
download | CMake-98be140fc0dc0bab8955c4fea9274ea52ac8cd9c.zip CMake-98be140fc0dc0bab8955c4fea9274ea52ac8cd9c.tar.gz CMake-98be140fc0dc0bab8955c4fea9274ea52ac8cd9c.tar.bz2 |
cmake: Refine -E copy[_if_different] documentation
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake.1.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 086f259..d5e8505 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -170,13 +170,18 @@ Available commands are: Check if file1 is same as file2. ``copy <file>... <destination>`` - Copy files to 'destination' (either file or directory). + Copy files to ``<destination>`` (either file or directory). + If multiple files are specified, the ``<destination>`` must be + directory and it must exist. ``copy_directory <source> <destination>`` Copy directory 'source' content to directory 'destination'. ``copy_if_different <file>... <destination>`` - Copy files if input has changed. Destination could be file or directory. + Copy files to ``<destination>`` (either file or directory) if + they have changed. + If multiple files are specified, the ``<destination>`` must be + directory and it must exist. ``echo [<string>...]`` Displays arguments as text. |