aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-19 13:55:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-19 13:55:43 +0300
commitfd999f9d61fbc07d77801fe3695fbf16ac9c3a9c (patch)
treedd6ca09aafda2b1d534cb0510ab23b98e2a0dd43
parentb139a6d89a0676c359552a66168b805660ebc8fb (diff)
Fix copyright notice extraction for building and documentation generating
-rw-r--r--build/root.build6
-rwxr-xr-xdoc/cli.sh2
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