summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_license_report.sh
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2021-07-08 20:52:54 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-16 21:20:48 +0200
commit2179ae513a925bc4d22c791cacd7e3d8adf902ed (patch)
tree7b86f7067101e00145009941da265427513adf96 /scripts/lib/ptxd_make_license_report.sh
parentb589f4670d713f9a69d2f82a6ec2cd9e7d4e8e17 (diff)
downloadptxdist-2179ae513a925bc4d22c791cacd7e3d8adf902ed.tar.gz
ptxdist-2179ae513a925bc4d22c791cacd7e3d8adf902ed.tar.xz
ptxd_make_world_license: handle PDFs in _LICENSE_FILES
If PDF files are found in the _LICENSE_FILES variable, include them as literal pages in license-report.pdf with the 'pdfpages' package, which nowadays comes preinstalled with most LaTeX distributions. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Message-Id: <20210708185255.3303-1-rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_license_report.sh')
-rw-r--r--scripts/lib/ptxd_make_license_report.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_license_report.sh b/scripts/lib/ptxd_make_license_report.sh
index c92dc725d..bed5bd1d4 100644
--- a/scripts/lib/ptxd_make_license_report.sh
+++ b/scripts/lib/ptxd_make_license_report.sh
@@ -18,6 +18,7 @@ ptxd_make_license_report_header() {
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage{spverbatim}
+ \usepackage{pdfpages}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}
%% Something like this may be needed depending on the package list
@@ -209,6 +210,7 @@ ptxd_make_license_compliance_header() {
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage{spverbatim}
+ \usepackage{pdfpages}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}
%% Something like this may be needed depending on the package list