summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-05 13:07:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-05 13:07:30 (GMT)
commit6db8f6a410d99e9a66847530bb520b329d2f1a9e (patch)
treefd0fbe8d6b37a00de6a9d0cfe1e2f0d4aa920e69 /Help
parentac4d6d4a9d9b81773e61c643169cb2afe1bab644 (diff)
parent3beb2c440badc293c7cf783abe0f1f5e9fb6f497 (diff)
downloadCMake-6db8f6a410d99e9a66847530bb520b329d2f1a9e.zip
CMake-6db8f6a410d99e9a66847530bb520b329d2f1a9e.tar.gz
CMake-6db8f6a410d99e9a66847530bb520b329d2f1a9e.tar.bz2
Merge topic 'doc-remove_directory-symlink'
3beb2c440b cmake: Document -E remove_directory symlink behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3784
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst3
-rw-r--r--Help/release/dev/remove_directory-symlink.rst6
2 files changed, 8 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 0645e41..2576cde 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -536,7 +536,8 @@ Available commands are:
``remove_directory <dir>...``
Remove ``<dir>`` directories and their contents. If a directory does
- not exist it will be silently ignored.
+ not exist it will be silently ignored. If ``<dir>`` is a symlink to
+ a directory, just the symlink will be removed.
``rename <oldname> <newname>``
Rename a file or directory (on one volume). If file with the ``<newname>`` name
diff --git a/Help/release/dev/remove_directory-symlink.rst b/Help/release/dev/remove_directory-symlink.rst
new file mode 100644
index 0000000..0896388
--- /dev/null
+++ b/Help/release/dev/remove_directory-symlink.rst
@@ -0,0 +1,6 @@
+remove_directory-symlink
+------------------------
+
+* The :manual:`cmake(1)` ``-E remove_directory`` command-line tool,
+ when given the path to a symlink to a directory, now removes just
+ the symlink. It no longer removes content of the linked directory.