aboutsummaryrefslogtreecommitdiff
path: root/build/install
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 17:20:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 17:20:15 +0200
commit6298f309bddaf3f279a724034e2d1d3ce58e0e1a (patch)
treec41d46641fbc8789cb851a9f08649b0381c96b64 /build/install
parente6126827072270ab41efd91741f4c22f3eac4bc8 (diff)
Clean up rule names
Diffstat (limited to 'build/install')
-rw-r--r--build/install/module.cxx22
1 files changed, 12 insertions, 10 deletions
diff --git a/build/install/module.cxx b/build/install/module.cxx
index 8711341..f8f7d73 100644
--- a/build/install/module.cxx
+++ b/build/install/module.cxx
@@ -121,24 +121,26 @@ namespace build
const dir_path& out_root (r.out_path ());
level5 ([&]{trace << "for " << out_root;});
- // Register the install operation.
- //
- r.operations.insert (install_id, install);
-
- // Register our alias and file installer rule.
- //
- b.rules.insert<alias> (perform_id, install_id, "install.alias", alias_);
- b.rules.insert<file> (perform_id, install_id, "install.file", file_);
-
// Enter module variables.
//
// Note that the set_dir() calls below enter some more.
//
if (first)
{
- var_pool.find ("install", dir_path_type);
+ auto& v (var_pool);
+
+ v.find ("install", dir_path_type);
}
+ // Register the install operation.
+ //
+ r.operations.insert (install_id, install);
+
+ // Register our alias and file installer rule.
+ //
+ b.rules.insert<alias> (perform_install_id, "install.alias", alias_);
+ b.rules.insert<file> (perform_install_id, "install.file", file_);
+
// Configuration.
//
// Note that we don't use any defaults for root -- the location