diff options
-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) } |