diff options
-rw-r--r-- | clean/buildfile | 7 | ||||
-rw-r--r-- | load/buildfile | 7 | ||||
-rw-r--r-- | migrate/buildfile | 7 | ||||
-rw-r--r-- | mod/buildfile | 7 |
4 files changed, 20 insertions, 8 deletions
diff --git a/clean/buildfile b/clean/buildfile index 761f063..cdf8792 100644 --- a/clean/buildfile +++ b/clean/buildfile @@ -23,7 +23,10 @@ if $cli.configured --cxx-prologue "#include <clean/types-parsers.hxx>" \ --long-usage - # 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) } diff --git a/load/buildfile b/load/buildfile index 6852871..8be32c4 100644 --- a/load/buildfile +++ b/load/buildfile @@ -23,7 +23,10 @@ if $cli.configured --cxx-prologue "#include <load/types-parsers.hxx>" \ --long-usage - # 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) } diff --git a/migrate/buildfile b/migrate/buildfile index 1115557..ed4f53c 100644 --- a/migrate/buildfile +++ b/migrate/buildfile @@ -22,7 +22,10 @@ if $cli.configured --include-prefix migrate --guard-prefix MIGRATE --generate-specifier \ --page-usage print_ --ansi-color --long-usage - # 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) } 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) } |