yocto-docs: Add SPDX headers in scripts and Makefile

Submitted by Armin Kuster on May 31, 2020, 8:39 p.m. | Patch ID: 173081

Details

Message ID 20200531203948.622-1-akuster808@gmail.com
State New
Headers show

Commit Message

Armin Kuster May 31, 2020, 8:39 p.m.
[Yocto #13873]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 documentation/Makefile                        |  3 +++
 documentation/tools/eclipse-help.sed          |  3 +++
 documentation/tools/mega-manual.sed           |  3 +++
 documentation/tools/poky-docbook-to-pdf       |  5 ++++-
 documentation/tools/update-documentation-conf | 16 +++-------------
 5 files changed, 16 insertions(+), 14 deletions(-)

Patch hide | download patch | download mbox

diff --git a/documentation/Makefile b/documentation/Makefile
index 15644bf92..2f7292214 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -1,3 +1,6 @@ 
+#
+# SPDX-License-Identifier: CC-BY-2.0-UK
+#
 # This is a single Makefile to handle all generated Yocto Project documents,
 # which includes the BitBake User Manual and the Toaster User Manual.
 # The Makefile needs to live in the documents directory and all figures used
diff --git a/documentation/tools/eclipse-help.sed b/documentation/tools/eclipse-help.sed
index ab5c9affd..9716ea42b 100644
--- a/documentation/tools/eclipse-help.sed
+++ b/documentation/tools/eclipse-help.sed
@@ -1,3 +1,6 @@ 
+#
+# SPDX-License-Identifier: CC-BY-2.0-UK
+#
 # Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style)
 # For example:
 #   "ulink" href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#faq"
diff --git a/documentation/tools/mega-manual.sed b/documentation/tools/mega-manual.sed
index b1ea9edb7..c525ab46a 100644
--- a/documentation/tools/mega-manual.sed
+++ b/documentation/tools/mega-manual.sed
@@ -1,3 +1,6 @@ 
+#
+# SPDX-License-Identifier: CC-BY-2.0-UK
+#
 # Processes bitbake-user-manual (<word>-<word>-<word> style).
 # This style is for manual three-word folders, which currently is only the BitBake User Manual.
 # We used to have the "yocto-project-qs" and "poky-ref-manual" folders but no longer do.
diff --git a/documentation/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf
index f55fd278a..b36e74b6b 100755
--- a/documentation/tools/poky-docbook-to-pdf
+++ b/documentation/tools/poky-docbook-to-pdf
@@ -1,5 +1,8 @@ 
 #!/bin/sh
-	
+#
+# SPDX-License-Identifier: CC-BY-2.0-UK
+#
+
 if [ -z "$1" -o -z "$2" ]; then
    echo "usage: [-v] $0 <docbook file> <templatedir>"
    echo
diff --git a/documentation/tools/update-documentation-conf b/documentation/tools/update-documentation-conf
index 3f8d28009..adfca3ca5 100644
--- a/documentation/tools/update-documentation-conf
+++ b/documentation/tools/update-documentation-conf
@@ -1,23 +1,13 @@ 
 #!/usr/bin/env python
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # documentation.conf update script
 #
 # Author: Paul Eggleton <paul.eggleton@linux.intel.com>
 #
 # Copyright (C) 2015 Intel Corporation
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 
 import sys