aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2020-06-14 09:00:21 +0000
committerChristophe Giboudeaux <christophe@krop.fr>2020-06-14 09:00:21 +0000
commit110f62d69b9529a901889c3998817eb406a22c8f (patch)
tree5d758629d1b0b8d26407848d35f54d866b6ebeb8 /docs
parentfb6ae4447afc509200e22411c658d070e23117d2 (diff)
downloadextra-cmake-modules-110f62d69b9529a901889c3998817eb406a22c8f.tar.gz
extra-cmake-modules-110f62d69b9529a901889c3998817eb406a22c8f.tar.bz2
extra-cmake-modules: Convert to SPDX license statements
Diffstat (limited to 'docs')
-rw-r--r--docs/CMakeLists.txt27
-rw-r--r--docs/sphinx/conf.py.in9
-rw-r--r--docs/sphinx/ext/ecm.py28
3 files changed, 9 insertions, 55 deletions
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index 28a816ae..3f84e4e9 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -1,29 +1,8 @@
#=============================================================================
-# Copyright 2000-2013 Kitware, Inc.
-# Copyright 2014-2015 Alex Merry <alex.merry@kde.org>
+# SPDX-FileCopyrightText: 2000-2013 Kitware, Inc.
+# SPDX-FileCopyrightText: 2014-2015 Alex Merry <alex.merry@kde.org>
#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# SPDX-License-Identifier: BSD-3-Clause
#=============================================================================
include(CMakeDependentOption)
diff --git a/docs/sphinx/conf.py.in b/docs/sphinx/conf.py.in
index d32b53f4..7fb2ab0e 100644
--- a/docs/sphinx/conf.py.in
+++ b/docs/sphinx/conf.py.in
@@ -1,13 +1,8 @@
#=============================================================================
# CMake - Cross Platform Makefile Generator
-# Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
+# SPDX-FileCopyrightText: 2000-2013 Kitware Inc., Insight Software Consortium
#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
+# SPDX-License-Identifier: BSD-3-Clause
#=============================================================================
import sys
import os
diff --git a/docs/sphinx/ext/ecm.py b/docs/sphinx/ext/ecm.py
index ed966bfb..2bab34a7 100644
--- a/docs/sphinx/ext/ecm.py
+++ b/docs/sphinx/ext/ecm.py
@@ -1,29 +1,9 @@
-# Copyright 2014 Alex Merry <alex.merry@kde.org>
-# Based on cmake.py from CMake:
-# Copyright 2000-2013 Kitware, Inc., Insight Software Consortium
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
+# SPDX-FileCopyrightText: 2014 Alex Merry <alex.merry@kde.org>
#
-# 1. Redistributions of source code must retain the copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
+# Based on cmake.py from CMake:
+# SPDX-FileCopyrightText: 2000-2013 Kitware Inc., Insight Software Consortium
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# SPDX-License-Identifier: BSD-3-Clause
import os
import re