diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 17:39:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 17:39:38 +0200 |
commit | 451f4a48f60965af980913d46a28947a834b3cd8 (patch) | |
tree | b077a86fe9bf0dc094aae6f751b8f8ee30f6080d /build/install/module.cxx | |
parent | 7d61f6fbbe0561f371436a74d4651abdbdde47df (diff) |
Use install::alisa_rule to ignore non-installable prerequisites
Diffstat (limited to 'build/install/module.cxx')
-rw-r--r-- | build/install/module.cxx | 8 |
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. // |