aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:29:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:29:01 +0300
commit083ef2ecab0a9e206b417133cc7efb259f308652 (patch)
tree60f0ec939d55093c29bfa17a5dfcdbfd5eae0e6b /build/root.build
parent443802c882885b16fae7f89ef2efafb0cfffd4e8 (diff)
Use copyright extracted from COPYRIGHT file for printing utility version
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 2f3d1ab..51de604 100644
--- a/build/root.build
+++ b/build/root.build
@@ -50,3 +50,9 @@ tests/{libue libul}{*}: bin.whole = false
# Specify the test target for cross-testing.
#
test.target = $cxx.target
+
+# Extract the copyright notice from the COPYRIGHT file.
+#
+copyright = $process.run_regex(cat $src_root/COPYRIGHT, \
+ 'Copyright \(c\) (.+)\.', \
+ '\1')