subdirRule: Rule for running the make process on a subdirectory

View source: R/subdirRule.R

subdirRuleR Documentation

Rule for running the make process on a subdirectory

Description

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).

Usage

subdirRule(target, depends = NULL, task = "all", targetTask = "all")

Arguments

target

Name of the subdirectory

depends

Must be NULL

task

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.

targetTask

What task to execute in the subdirectory.

Value

An instance of S2 classs rmake.rule

Author(s)

Michal Burda

See Also

rule(), makefile()


beerda/rmake documentation built on July 2, 2022, 6:24 p.m.