aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
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')