aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-18 16:13:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-18 18:06:18 +0300
commit02c94fbd481cfd237c5cfdd7a55d6bba9922984d (patch)
treec6a5e6d25acc1b8d70112b1c0da5f5988530caf5
parent487cc914baefc9f662e53fd5bc125f4b005270b5 (diff)
Fix copyright notice extraction for building
-rw-r--r--openssl/buildfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/openssl/buildfile b/openssl/buildfile
index ab25be9..cacbee9 100644
--- a/openssl/buildfile
+++ b/openssl/buildfile
@@ -51,11 +51,12 @@ for t: cxx{**.test...}
# Build options.
#
-# 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{agent/pkcs11/agent client/client}: \
cxx.poptions += -DOPENSSL_AGENT_COPYRIGHT=\"$copyright\"