From fd999f9d61fbc07d77801fe3695fbf16ac9c3a9c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 19 Feb 2020 13:55:43 +0300 Subject: Fix copyright notice extraction for building and documentation generating --- build/root.build | 6 +++--- doc/cli.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/root.build b/build/root.build index a0c9317..627f0ee 100644 --- a/build/root.build +++ b/build/root.build @@ -53,7 +53,7 @@ test.target = $cxx.target # Extract the copyright notice from the LICENSE file. # -copyright = $process.run_regex( \ - cat $src_root/LICENSE, \ - 'Copyright \(c\) (.+) \(see the AUTHORS file\)\.', \ +copyright = $process.run_regex( \ + cat $src_root/LICENSE, \ + 'Copyright \(c\) (.+) \(see the AUTHORS and LEGAL files\)\.', \ '\1') diff --git a/doc/cli.sh b/doc/cli.sh index 33a2b7f..b8c4c00 100755 --- a/doc/cli.sh +++ b/doc/cli.sh @@ -9,7 +9,7 @@ function info () { echo "$*" 1>&2; } function error () { info "$*"; exit 1; } date="$(date +"%B %Y")" -copyright="$(sed -n -re 's%^Copyright \(c\) (.+) \(see the AUTHORS file\)\.$%\1%p' ../LICENSE)" +copyright="$(sed -n -re 's%^Copyright \(c\) (.+) \(see the AUTHORS and LEGAL files\)\.$%\1%p' ../LICENSE)" while [ $# -gt 0 ]; do case $1 in -- cgit v1.1