aboutsummaryrefslogtreecommitdiff
path: root/build2/install/rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-31 18:42:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-31 18:44:07 +0200
commita84ff43b183181e0a12c6d5e31c1f366d39ce2fe (patch)
tree3dce54b64fd8e9917ed034a3e2c9e20f057eece4 /build2/install/rule.hxx
parent89f5bc3b423a1269a60ccca05174226c8de40357 (diff)
Experimental (and probably broken) pkg-config generation support
Diffstat (limited to 'build2/install/rule.hxx')
-rw-r--r--build2/install/rule.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/build2/install/rule.hxx b/build2/install/rule.hxx
index ad0d8ec..617beab 100644
--- a/build2/install/rule.hxx
+++ b/build2/install/rule.hxx
@@ -70,6 +70,12 @@ namespace build2
virtual bool
uninstall_extra (const file&, const install_dir&) const;
+ // Extra update for install hooks. It is executed after the target has
+ // been updated but only for those that will actually be installed.
+ //
+ virtual target_state
+ update_extra (action, const target&) const;
+
// Installation "commands".
//
// If verbose is false, then only print the command at verbosity level 2
@@ -98,7 +104,7 @@ namespace build2
const path& name,
bool verbose);
- private:
+ protected:
target_state
perform_install (action, const target&) const;