From 9190569b69e34468841b18b33c98f78e66a3d26e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Nov 2018 11:03:04 +0200 Subject: Add config.hxx.in config header, move stage status there --- build2/context.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'build2/context.cxx') diff --git a/build2/context.cxx b/build2/context.cxx index 10995e6..142a99d 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -477,13 +477,7 @@ namespace build2 // Note that it is either staged or public, without queued, since we do // not re-package things during the queued-to-public transition. // - // Currently the value is adjusted manually during release but in the - // future the idea is to use version metadata (e.g., 1.2.3-a.1+0.stage). - // This way it will all be managed in a central place (manifest), we - // can teach the version module to extract it, and we can also set it - // for the other packages in the toolchain. - // - set ("build.version.stage", true); + set ("build.version.stage", BUILD2_STAGE); } // Enter the host information. Rather than jumping through hoops like -- cgit v1.1