]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/build/virtual-target.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / src / build / virtual-target.jam
index 264616db617be8830ec49c605d8bccc0d41737fd..2d139bd7f8542dd43300bceb310105e00d1c4117 100644 (file)
@@ -794,7 +794,9 @@ class action
             # rules.
             .action on $(actual-targets) = $(__name__) ;
 
-            indirect.call $(self.action-name) $(actual-targets)
+            #indirect.call $(self.action-name) $(actual-targets)
+            #    : $(self.actual-sources) : [ $(properties).raw ] ;
+            execute $(self.action-name) $(actual-targets)
                 : $(self.actual-sources) : [ $(properties).raw ] ;
 
             # Since we set up the creating action here, we set up the action for
@@ -865,6 +867,19 @@ class action
     {
         return $(property-set) ;
     }
+
+    # Execute the action rule on the given targets, sources, and properties.
+    # Since this does the final call to the engine action rule this takes
+    # engine level targets and raw properties. One could override this, for
+    # example, to set additional variables on hte target that might be
+    # difficult to determine just using toolset flags.
+    # Note, you must call this base rule when overriding as otherwise the
+    # actions will not execute and the engine will not run commands.
+    #
+    rule execute ( action-name targets + : sources * : properties * )
+    {
+        indirect.call $(action-name) $(targets) : $(sources) : $(properties) ;
+    }
 }