Revision 9055
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/make.sh | ||
---|---|---|
14 | 14 |
alias remaking='test "$remake"' |
15 | 15 |
|
16 | 16 |
# usage: set_make_vars; check_target_exists |
17 |
alias check_target_exists='! test -e "$target" || return 0' |
|
17 |
alias check_target_exists='remaking || ! test -e "$target" || return 0'
|
|
18 | 18 |
|
19 | 19 |
# usage: set_make_vars; to_target cmd... |
20 | 20 |
alias to_target='stdout="$target" to_file ' # last space alias-expands next word |
Also available in: Unified diff
lib/sh/make.sh: check_target_exists: if remaking, consider target not to exist