Browse Source

Merge topic 'ci-linkcheck'

54e06c601d Help: Replace link with its http redirect

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8898
Brad King 2 years ago
parent
commit
35c7e237e7

+ 1 - 1
Help/command/cmake_host_system_information.rst

@@ -265,7 +265,7 @@ Example:
 
 .. [#mebibytes] One MiB (mebibyte) is equal to 1024x1024 bytes.
 
-.. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/os-release.html
+.. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/latest/os-release.html
 .. _various distribution-specific files: http://linuxmafia.com/faq/Admin/release-files.html
 
 .. _Query Windows registry:

+ 1 - 1
Help/release/3.22.rst

@@ -19,7 +19,7 @@ Commands
 * The :command:`string(TIMESTAMP)` command now supports the ``%V``
   specifier for ISO 8601 week numbers.
 
-.. _`OS identification variables`: https://www.freedesktop.org/software/systemd/man/os-release.html
+.. _`OS identification variables`: https://www.freedesktop.org/software/systemd/man/latest/os-release.html
 
 Variables
 ---------

+ 1 - 1
Source/cmCMakeHostSystemInformationCommand.cxx

@@ -270,7 +270,7 @@ std::map<std::string, std::string> GetOSReleaseVariables(
 
   std::map<std::string, std::string> data;
   // Based on
-  // https://www.freedesktop.org/software/systemd/man/os-release.html
+  // https://www.freedesktop.org/software/systemd/man/latest/os-release.html
   for (auto name : { "/etc/os-release"_s, "/usr/lib/os-release"_s }) {
     const auto& filename = cmStrCat(sysroot, name);
     if (cmSystemTools::FileExists(filename)) {