aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
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\"