chicken-do - Man Page

run a shell command unless the target exists and any dependency is not newer than the target

Synopsis

chicken-do[-q] [-h] [--] TARGET ... : DEPENDENCY ... : COMMAND ...

Description

If the files TARGET ... do not exist, or if any of the files in DEPENDENCY ... are newer than one of the target files, then execute the shell commands in COMMAND ....

The program accepts the following options:

-h

Show usage and exit.

-q

Quiet operation - do not print shell commands when they are executed.

--

Treat all following tokens as target filenames, even if they begin with a - character.

Exit Status

The chicken-do utility exits 0 on success, and >0 if an error occurs.

Examples

Build a C program from sources:

$ chicken-do prg: prg.c inc.h: gcc prg.c -o prg

See Also

chicken(1), chicken-status(1), chicken-install(1), chicken-uninstall(1), csc(1)

More information can be found in the CHICKEN User's Manual.

Authors

The CHICKEN Team

Bugs

Submit bug reports by e-mail to chicken-janitors@nongnu.org

Info

April 26, 2017