diff options
Diffstat (limited to 'build2/install/rule.hxx')
-rw-r--r-- | build2/install/rule.hxx | 8 |
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; |