The subdirectory in the target
argument is assumed to contain its own Makefile
. This rule
causes the execution of make <targetTask>
in this subdirectory (where <targetTask>
is the
value of the targetTask
argument).
subdirRule(target, depends = NULL, task = "all", targetTask = "all")
An instance of S2 classs rmake.rule
Name of the subdirectory
Must be NULL
A character vector of parent task names. The mechanism of tasks allows to group
rules. Anything different from 'all'
will cause creation of a new task depending on the given
rule. Executing make taskname
will then force building of this rule.
What task to execute in the subdirectory.
Michal Burda
rule()
, makefile()