diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-19 13:55:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-19 13:55:43 +0300 |
commit | fd999f9d61fbc07d77801fe3695fbf16ac9c3a9c (patch) | |
tree | dd6ca09aafda2b1d534cb0510ab23b98e2a0dd43 | |
parent | b139a6d89a0676c359552a66168b805660ebc8fb (diff) |
Fix copyright notice extraction for building and documentation generating
-rw-r--r-- | build/root.build | 6 | ||||
-rwxr-xr-x | 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') @@ -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 |