diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-01 11:08:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-04-01 11:08:13 +0200 |
commit | 0dee00f28e623830e816c4002c8004c86055df85 (patch) | |
tree | 14c2a2abe241df53821bc585b7adeaff16c768cd /build/config/operation.cxx | |
parent | 276a0796a97b0a312c0071bba0bf924b5f5c6eee (diff) |
Implement initial C++ configuration support
Diffstat (limited to 'build/config/operation.cxx')
-rw-r--r-- | build/config/operation.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/build/config/operation.cxx b/build/config/operation.cxx index baafc97..c6a9444 100644 --- a/build/config/operation.cxx +++ b/build/config/operation.cxx @@ -133,10 +133,9 @@ namespace build { mkdir (out_root); mkdir (out_root / build_dir); + mkdir (out_root / bootstrap_dir); } - mkdir (out_root / bootstrap_dir); - // We distinguish between a complete configure and operation- // specific. // @@ -223,14 +222,14 @@ namespace build level4 ([&]{trace << "completely disfiguring " << out_root;}); rmfile (out_root / config_file); - rmfile (out_root / src_root_file); - - // Clean up the directories. - // - rmdir (out_root / bootstrap_dir); if (out_root != src_root) { + rmfile (out_root / src_root_file); + + // Clean up the directories. + // + rmdir (out_root / bootstrap_dir); rmdir (out_root / build_dir); if (rmdir (out_root) == rmdir_status::not_empty) |