This rule copies a file from one location to another.
The rule executes the following command:
$(CP) depends[1] target
Arguments
- target
Target file name to copy the file to
- depends
Name of the file to copy from (only the first element of the vector is used)
- task
A character vector of parent task names. The mechanism of tasks allows grouping rules. Anything different from
'all'will cause the creation of a new task depending on the given rule. Executingmake tasknamewill then force building this rule.