aboutsummaryrefslogtreecommitdiff
path: root/build/install/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-11 17:39:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-11 17:39:38 +0200
commit451f4a48f60965af980913d46a28947a834b3cd8 (patch)
treeb077a86fe9bf0dc094aae6f751b8f8ee30f6080d /build/install/rule
parent7d61f6fbbe0561f371436a74d4651abdbdde47df (diff)
Use install::alisa_rule to ignore non-installable prerequisites
Diffstat (limited to 'build/install/rule')
-rw-r--r--build/install/rule12
1 files changed, 11 insertions, 1 deletions
diff --git a/build/install/rule b/build/install/rule
index bed0836..af38587 100644
--- a/build/install/rule
+++ b/build/install/rule
@@ -14,7 +14,17 @@ namespace build
{
namespace install
{
- class rule: public build::rule
+ class alias_rule: public rule
+ {
+ public:
+ virtual match_result
+ match (action, target&, const std::string&) const;
+
+ virtual recipe
+ apply (action, target&, const match_result&) const;
+ };
+
+ class file_rule: public rule
{
public:
virtual bool