Revision 9942
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/make.sh | ||
---|---|---|
25 | 25 |
|
26 | 26 |
# usage: set_make_vars; check_target_exists |
27 | 27 |
alias check_target_exists='remaking || require_not_exists "$target" || return 0' |
28 |
alias check_fake_target_exists='remaking || declare if_not_exists=1'
|
|
28 |
alias deferred_check_target_exists='remaking || declare if_not_exists=1'
|
|
29 | 29 |
# defer check until to_file |
30 |
alias check_fake_target_exists='deferred_check_target_exists' |
|
30 | 31 |
alias wildcard1_target='local target="$(wildcard1 "$top_dir"/$target_filename)"' |
31 | 32 |
alias check_wildcard_target_exists='wildcard1_target; check_target_exists' |
32 | 33 |
|
Also available in: Unified diff
lib/sh/make.sh: added deferred_check_target_exists alias and use it in check_fake_target_exists