makeParse: Parse the make database

Description Usage Arguments Value Examples

Description

Takes the text output from make -p and parses it into structured text that is easier to query.

Usage

1
makeParse(mkdb = NULL, makefile = "Makefile")

Arguments

mkdb

Path to a text file containing the result of make -p. If left out then it will attempt to call make -p from the current working directory.

makefile

specify where the makefile is (ignored if mkdb is specified)

Value

A list with each section from the make file

Examples

1
2
3
4
5
## Not run: 
  makeParse("mkdb.txt")
  makeParse()

## End(Not run)

dougmet/makeparse documentation built on May 15, 2019, 10:44 a.m.