aboutsummaryrefslogtreecommitdiff
path: root/load
diff options
context:
space:
mode:
Diffstat (limited to 'load')
-rw-r--r--load/buildfile4
-rw-r--r--load/load.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/load/buildfile b/load/buildfile
index 5f6c626..b55489f 100644
--- a/load/buildfile
+++ b/load/buildfile
@@ -11,6 +11,10 @@ include ../libbrep/
exe{brep-load}: {hxx ixx cxx}{* -load-options} {hxx ixx cxx}{load-options} \
../libbrep/lib{brep} $libs
+# Build options.
+#
+obj{load}: cxx.poptions += -DBREP_COPYRIGHT=\"$copyright\"
+
# Generated options parser.
#
if $cli.configured
diff --git a/load/load.cxx b/load/load.cxx
index c54e6c6..5638553 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -1192,7 +1192,7 @@ try
<< "libbbot " << LIBBBOT_VERSION_ID << endl
<< "libbpkg " << LIBBPKG_VERSION_ID << endl
<< "libbutl " << LIBBUTL_VERSION_ID << endl
- << "Copyright (c) 2014-2019 Code Synthesis Ltd" << endl
+ << "Copyright (c) " << BREP_COPYRIGHT << "." << endl
<< "This is free software released under the MIT license." << endl;
return 0;