diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-28 18:26:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-06-28 18:26:28 +0300 |
commit | 7a964bbd3e7505b5648fe7522b26cc8941c378d9 (patch) | |
tree | ff99bda4cd13f560d3eb30980f20dfcb34fb17eb | |
parent | 516981000564dbd164242634a5c166964a89b03f (diff) |
Don't read LICENSE in root.build in skeleton mode
-rw-r--r-- | xsd/build/root.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xsd/build/root.build b/xsd/build/root.build index 8589e33..2b83ae1 100644 --- a/xsd/build/root.build +++ b/xsd/build/root.build @@ -29,6 +29,7 @@ cxx.poptions =+ "-I$out_root" "-I$src_root" # # Note that cat is a builtin which means this is both portable and fast. # -copyright = $process.run_regex(cat $src_root/LICENSE, \ - 'Copyright \(c\) (.+)\.', \ - '\1') +if ($build.mode != 'skeleton') + copyright = $process.run_regex(cat $src_root/LICENSE, \ + 'Copyright \(c\) (.+)\.', \ + '\1') |