diff options
Diffstat (limited to 'mod/buildfile')
-rw-r--r-- | mod/buildfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/buildfile b/mod/buildfile index 596f3a2..61b7067 100644 --- a/mod/buildfile +++ b/mod/buildfile @@ -38,7 +38,10 @@ if $cli.configured --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ --generate-modifier --generate-description --option-prefix "" - # 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) } |