diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-07 14:37:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-07 14:37:08 +0200 |
commit | 4854da9ba94fc107ff3dcd7eac4e12cecacd9b2e (patch) | |
tree | 44c7dceeb85132c65008f94b24888b8cfc7985e7 /build2/context | |
parent | b7c0293598d45f052a41c3ed6580d98801280cd7 (diff) |
Remove the depdb (.d) files when cleaning
Diffstat (limited to 'build2/context')
-rw-r--r-- | build2/context | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/build2/context b/build2/context index d7ca3d3..d5b55d3 100644 --- a/build2/context +++ b/build2/context @@ -69,17 +69,19 @@ namespace build2 fs_status<butl::mkdir_status> mkdir_p (const dir_path&); - // Remove the file and print the standard diagnostics. The second - // argument is only used in diagnostics, to print the target name. - // Passing the path for target will result in the relative path - // being printed. + // Remove the file and print the standard diagnostics. The second argument + // is only used in diagnostics, to print the target name. Passing the path + // for target will result in the relative path being printed. + // + // If verbose is false, then only print the command at verbosity level 3 + // or higher. // template <typename T> fs_status<butl::rmfile_status> - rmfile (const path&, const T& target); + rmfile (const path&, const T& target, bool verbose = true); inline fs_status<butl::rmfile_status> - rmfile (const path& f) {return rmfile (f, f);} + rmfile (const path& f, bool verbose = true) {return rmfile (f, f, verbose);} // Similar to rmfile() but for directories. // |