diff --git a/docs/book/examples/scenarios_unknown/mytool.py b/docs/book/examples/scenarios_unknown/mytool.py index 252261cb..8045f46e 100644 --- a/docs/book/examples/scenarios_unknown/mytool.py +++ b/docs/book/examples/scenarios_unknown/mytool.py @@ -14,7 +14,7 @@ def process_shpip(self, node): class src2c(Task.Task): color = 'PINK' quiet = 1 - ext_out = ['.h'] + before = ['cstaticlib'] def run(self): cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath()) diff --git a/docs/book/scenarios.txt b/docs/book/scenarios.txt index adb134f0..d40661fc 100644 --- a/docs/book/scenarios.txt +++ b/docs/book/scenarios.txt @@ -615,7 +615,7 @@ def process_shpip(self, node): <1> class src2c(Task.Task): color = 'PINK' quiet = True <2> - ext_out = ['.h'] <3> + before = ['cstaticlib'] <3> def run(self): cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath()) @@ -668,7 +668,7 @@ class src2c(Task.Task): <1> The processing will be delegated to the task <2> Disable the warnings raised when a task has no outputs -<3> Make certain the processing will be executed before any task using _.h_ files +<3> Make certain the task will be processed before the link task is considered <4> When the task is executed, collect the process stdout which contains the generated file names <5> Store the output file nodes in a persistent cache <6> Create the tasks to compile the outputs