aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-18 16:28:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-18 18:05:06 +0300
commitf6412282a2837ce8219e0ac32c2f28ec8683ec97 (patch)
tree379e6b4a0f38e11c9654667ddb0a9b356f10da5c /bpkg/buildfile
parent0ec9d58a8f0cf87438209b7d898b4db5ebdc1657 (diff)
New LICENSE/AUTHORS arrangement
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index dc900d8..91cf6e7 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -84,11 +84,12 @@ for t: cxx{**.test...}
#
obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"'
-# Pass the copyright notice extracted from the COPYRIGHT file.
+# Pass the copyright notice extracted from the LICENSE file.
#
-copyright = $process.run_regex(cat $src_root/COPYRIGHT, \
- 'Copyright \(c\) (.+)\.', \
- '\1')
+copyright = $process.run_regex( \
+ cat $src_root/LICENSE, \
+ 'Copyright \(c\) (.+) \(see the AUTHORS file\)\.', \
+ '\1')
obj{bpkg}: cxx.poptions += -DBPKG_COPYRIGHT=\"$copyright\"