diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-24 13:09:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-24 16:03:41 +0300 |
commit | 10a80c808c4d17c477c9aadd6d91431f1bc7bcd5 (patch) | |
tree | b283173a79f2b82013524578eb73e5b4a4721ef0 | |
parent | eb6bc4dc3f821cd9430419733c7496e07241748c (diff) |
Don't clean generated cli files from src
-rw-r--r-- | bpkg/buildfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index 5c14313..edf3412 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -100,8 +100,7 @@ if $cli.configured # Help topics. # - {hxx cxx}{repository-signing}: cli{repository-signing} - {hxx cxx}{repository-signing}: dist = true + cli.cxx{repository-signing}: cli{repository-signing} # Option length must be the same to get commands/topics/options aligned. # @@ -120,7 +119,10 @@ if $cli.configured # cli.cxx{repository-signing}: cli.options += --suppress-cli --suppress-inline - # Include generated cli files into the distribution. + # Include the generated cli files into the distribution and don't remove + # them when cleaning in src (so that clean results in a state identical to + # distributed). # - cli.cxx{*}: dist = true + cli.cxx{*}: dist = true + cli.cxx{*}: clean = ($src_root != $out_root) } |