diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-12 21:29:01 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-12 21:29:01 +0300 |
commit | 083ef2ecab0a9e206b417133cc7efb259f308652 (patch) | |
tree | 60f0ec939d55093c29bfa17a5dfcdbfd5eae0e6b /migrate | |
parent | 443802c882885b16fae7f89ef2efafb0cfffd4e8 (diff) |
Use copyright extracted from COPYRIGHT file for printing utility version
Diffstat (limited to 'migrate')
-rw-r--r-- | migrate/buildfile | 4 | ||||
-rw-r--r-- | migrate/migrate.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/migrate/buildfile b/migrate/buildfile index 28001da..0480cc6 100644 --- a/migrate/buildfile +++ b/migrate/buildfile @@ -11,6 +11,10 @@ exe{brep-migrate}: {hxx ixx cxx}{* -migrate-options} \ {hxx ixx cxx}{ migrate-options} \ ../libbrep/lib{brep} $libs +# Build options. +# +obj{migrate}: cxx.poptions += -DBREP_COPYRIGHT=\"$copyright\" + # Generated options parser. # if $cli.configured diff --git a/migrate/migrate.cxx b/migrate/migrate.cxx index c1e9c29..8b083fc 100644 --- a/migrate/migrate.cxx +++ b/migrate/migrate.cxx @@ -242,7 +242,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; |