Skip to contentSkip to conversation

yocto-docs: Add SPDX headers in scripts and Makefile

PATCH New akuster 1 participant 1 message May 31, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/1 yocto-docs: Add SPDX headers in scripts and Makefile

[Yocto #13873]

---
 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(-)
documentation/Makefile +3 -0
index 15644bf92..2f7292214 100644
@@ -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
documentation/tools/eclipse-help.sed +3 -0
index ab5c9affd..9716ea42b 100644
@@ -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"
documentation/tools/mega-manual.sed +3 -0
index b1ea9edb7..c525ab46a 100644
@@ -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.
documentation/tools/poky-docbook-to-pdf +4 -1
index f55fd278a..b36e74b6b 100755
@@ -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
documentation/tools/update-documentation-conf +3 -13
index 3f8d28009..adfca3ca5 100644
@@ -1,23 +1,13 @@
 #!/usr/bin/env python
-
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 # documentation.conf update script
 #
 # Author: Paul Eggleton <[email protected]>
 #
 # 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
Signature · 1 line
2.17.1