make

Collection: community.general

Full Name: parallax.community.general.make

Aliases: community.general.make, make

Synopsis

Run make targets in a directory

Parameters

NameTypeRequiredDefaultDescription
chdirstringyesChange to this directory before running make
targetstringThe target to run
paramsstringExtra parameters to pass to make
filestringUse a custom Makefile
jobsint0Number of parallel jobs (0 means no -j flag)

Example

- name: Build and install from source
  make:
    chdir: /usr/local/src/app
    target: install
    jobs: 4