diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-17 16:24:23 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-17 16:34:03 -0700 |
| commit | 20002f8d8cee6c6d30c7aa7fbbbad79e4cb82664 (patch) | |
| tree | e3ebb6a9075a4e9d88cad9dea014c860919d6203 /setup.rc | |
| parent | e2be6f64fab1c78f1dac6edd4df52edff722e441 (diff) | |
Use phony targets for order-only dependencies
Diffstat (limited to 'setup.rc')
| -rwxr-xr-x | setup.rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,9 +59,9 @@ fn gen { printf '%s\n' $tree_perms >$absdir/local.perms perms_inputs=($perms_inputs '$dir'/local.perms) } - if(~ $#perms_inputs 0) build '$outdir/root.perms' stamp + if(~ $#perms_inputs 0) build '$outdir/root.perms' touch if not build '$outdir/root.perms' cat $perms_inputs - if(~ $#tree_inputs 0) build '$outdir/root.tree' stamp + if(~ $#tree_inputs 0) build '$outdir/root.tree' touch if not build '$outdir/root.tree' cat $tree_inputs } >local.ninja.tmp mv $absdir/^(local.ninja.tmp local.ninja) |
