aboutsummaryrefslogtreecommitdiffstats
path: root/docs/redo-ifcreate.1.ronn
blob: 365feae5ca945028a8685c212059366f99db245b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
redo-ifcreate(1) -- rebuild if target is created
================================================

## SYNOPSIS

`redo-ifcreate` [<targets>...]

## DESCRIPTION

`redo-ifcreate` creates a 'on create' dependency on the given (nonexistent)
<targets>. Should any of those be created in the future, then
`REDO_PARENT_TARGET` (usually the target that is being built by the .do script)
is flagged out-of-date.

If any of the <targets> already exist `redo-ifcreate` will return a nonzero exit
code.

This command should usually be called from within a .do script. See redo(1).

## EXAMPLES

(none yet)

## ENVIRONMENT

Requires `REDO_PARENT_TARGET` and `REDO_ROOT` to be defined. See redo(1) for a
description of these variables.

## SEE ALSO

redo-ifchange(1), redo-always(1)

## REDO

Part of the redo(1) suite.