summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorakuster <akuster808@gmail.com>2020-05-31 13:39:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:29:02 +0100
commit2f9cf90ac8524e3f1b5667d33e156e3663a1e75b (patch)
treecf54911c15408fac741095ebce38bb76477e6afa /documentation
parent109a501faf7eef1b2e5b692b4877b6f542019c3d (diff)
downloadpoky-2f9cf90ac8524e3f1b5667d33e156e3663a1e75b.tar.gz
yocto-docs: Add SPDX headers in scripts and Makefile
[Yocto #13873] (From yocto-docs rev: b87c540a1a6c0dce4c6010b89d9831442e0e7f70) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Makefile3
-rw-r--r--documentation/tools/eclipse-help.sed3
-rw-r--r--documentation/tools/mega-manual.sed3
-rwxr-xr-xdocumentation/tools/poky-docbook-to-pdf5
-rw-r--r--documentation/tools/update-documentation-conf16
5 files changed, 16 insertions, 14 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 15644bf926..2f7292214f 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: CC-BY-2.0-UK
3#
1# This is a single Makefile to handle all generated Yocto Project documents, 4# This is a single Makefile to handle all generated Yocto Project documents,
2# which includes the BitBake User Manual and the Toaster User Manual. 5# which includes the BitBake User Manual and the Toaster User Manual.
3# The Makefile needs to live in the documents directory and all figures used 6# 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 ab5c9affd4..9716ea42bc 100644
--- a/documentation/tools/eclipse-help.sed
+++ b/documentation/tools/eclipse-help.sed
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: CC-BY-2.0-UK
3#
1# Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style) 4# Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style)
2# For example: 5# For example:
3# "ulink" href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#faq" 6# "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 b1ea9edb7b..c525ab46a4 100644
--- a/documentation/tools/mega-manual.sed
+++ b/documentation/tools/mega-manual.sed
@@ -1,3 +1,6 @@
1#
2# SPDX-License-Identifier: CC-BY-2.0-UK
3#
1# Processes bitbake-user-manual (<word>-<word>-<word> style). 4# Processes bitbake-user-manual (<word>-<word>-<word> style).
2# This style is for manual three-word folders, which currently is only the BitBake User Manual. 5# This style is for manual three-word folders, which currently is only the BitBake User Manual.
3# We used to have the "yocto-project-qs" and "poky-ref-manual" folders but no longer do. 6# 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 f55fd278af..b36e74b6be 100755
--- a/documentation/tools/poky-docbook-to-pdf
+++ b/documentation/tools/poky-docbook-to-pdf
@@ -1,5 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2#
3# SPDX-License-Identifier: CC-BY-2.0-UK
4#
5
3if [ -z "$1" -o -z "$2" ]; then 6if [ -z "$1" -o -z "$2" ]; then
4 echo "usage: [-v] $0 <docbook file> <templatedir>" 7 echo "usage: [-v] $0 <docbook file> <templatedir>"
5 echo 8 echo
diff --git a/documentation/tools/update-documentation-conf b/documentation/tools/update-documentation-conf
index 3f8d280093..adfca3ca50 100644
--- a/documentation/tools/update-documentation-conf
+++ b/documentation/tools/update-documentation-conf
@@ -1,23 +1,13 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2 2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
3# documentation.conf update script 5# documentation.conf update script
4# 6#
5# Author: Paul Eggleton <paul.eggleton@linux.intel.com> 7# Author: Paul Eggleton <paul.eggleton@linux.intel.com>
6# 8#
7# Copyright (C) 2015 Intel Corporation 9# Copyright (C) 2015 Intel Corporation
8# 10#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License version 2 as
11# published by the Free Software Foundation.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License along
19# with this program; if not, write to the Free Software Foundation, Inc.,
20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 11
22 12
23import sys 13import sys