buildMakefile {BuildSys}R Documentation

Build a GNU makefile

Description

Calling buildMakefile builds a GNU makefile based on the project specification in the S4 BSysProject object instance.

Usage

  ## S4 method for signature 'BSysProject'
buildMakefile(.Object, Force = FALSE)

Arguments

.Object

.Object is an object instance of class BSysProject that describes the code project.

Force

Force is a boolean that when TRUE forces re-construction of the makefile.

Details

buildMakefile constructs a makefile that represents the project specfication in the S4 BSysProject object instance. That instance is created with a call to new("BSysProject", ...) constructor (see initProjectFromFolder). If the makefile already exists and is in sync with Object then the makefile is left untouched, unless Force=TRUE, in which case it is written afresh. A makefile is determined to be in sync with the parent project by comparison of an md5 digest of the BSysProject object instance and the digest stored in the header comment line of the makefile.

Value

Returns TRUE if the makefile is created or re-created and FALSE otherwise.

Note

see BuildSys-package for examples of use.

Author(s)

Paavo Jumppanen [aut, cre]

Maintainer: Paavo Jumppanen <paavo.jumppanen@csiro.au>

See Also

make initProjectFromFolder BuildSys-package


[Package BuildSys version 1.1.2 Index]