aboutsummaryrefslogtreecommitdiff
path: root/build/install/module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/install/module.cxx')
-rw-r--r--build/install/module.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/install/module.cxx b/build/install/module.cxx
index b117e98..042bee9 100644
--- a/build/install/module.cxx
+++ b/build/install/module.cxx
@@ -89,7 +89,8 @@ namespace build
set_var<strings> (s, r, name, ".options", nullptr);
}
- static rule rule_;
+ static alias_rule alias_rule_;
+ static file_rule file_rule_;
extern "C" void
install_init (scope& r,
@@ -116,9 +117,10 @@ namespace build
//
r.operations.insert (install_id, install);
- // Register our file installer rule.
+ // Register our alias and file installer rule.
//
- b.rules.insert<file> (perform_id, install_id, "install", rule_);
+ b.rules.insert<alias> (perform_id, install_id, "install", alias_rule_);
+ b.rules.insert<file> (perform_id, install_id, "install", file_rule_);
// Enter module variables.
//