From e8f7ad1e7d4aa47daad62105d2c41bcfd61d67e8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Jul 2020 05:52:49 +0200 Subject: Enable doc{}/legal{} split in bdep-new'ed projects --- bdep/new.cxx | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/bdep/new.cxx b/bdep/new.cxx index c8002ee..8a180ec 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -1561,23 +1561,6 @@ cmd_new (cmd_new_options&& o, cli::group_scanner& args) &os, &out, &readme_f, &license_f, ©right_f, &authors_f] (bool newline = false) { -#if 1 // @@ TMP - if (readme_f || license_f || copyright_f || authors_f) - { - auto write = [&os, &out, s = ""] (const path& f) mutable - { - os << s << f.leaf (out).posix_representation (); - s = " "; - }; - - os << "doc{"; - if (readme_f) write (*readme_f); - if (license_f) write (*license_f); - if (copyright_f) write (*copyright_f); - if (authors_f) write (*authors_f); - os << "} "; - } -#else if (readme_f || license_f || copyright_f || authors_f) { const char* s; @@ -1607,7 +1590,7 @@ cmd_new (cmd_new_options&& o, cli::group_scanner& args) os << "} "; } } -#endif + os << "manifest"; if (newline) -- cgit v1.1