From 083ef2ecab0a9e206b417133cc7efb259f308652 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 12 Feb 2020 21:29:01 +0300 Subject: Use copyright extracted from COPYRIGHT file for printing utility version --- build/root.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build') 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') -- cgit v1.1