diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-26 15:38:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-08-26 15:38:23 +0200 |
commit | 4177d70e63893d0a2c76beb9166ebbf79c4697a0 (patch) | |
tree | 5f78750577a76919ac93d9cffbff91ffde5ce7b7 /libbuild2/install | |
parent | e9e1cdc98cb56fd0aac0c91f8609bfee57457847 (diff) |
Add support for for_install prerequisite-specific var in link rule
Also reserve for_test.
Diffstat (limited to 'libbuild2/install')
-rw-r--r-- | libbuild2/install/init.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/install/init.cxx b/libbuild2/install/init.cxx index d2321b5..445f2b1 100644 --- a/libbuild2/install/init.cxx +++ b/libbuild2/install/init.cxx @@ -209,6 +209,7 @@ namespace build2 // the trailing directory separator. // vp.insert<path> ("install", variable_visibility::target); + vp.insert<bool> ("for_install", variable_visibility::prereq); vp.insert<string> ("install.mode", variable_visibility::project); vp.insert<bool> ("install.subdirs", variable_visibility::project); } |