Revision 9710
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/make.sh | ||
---|---|---|
31 | 31 |
# usage: set_make_vars; to_target cmd... |
32 | 32 |
alias to_target='stdout="$target" to_file ' # last space alias-expands next word |
33 | 33 |
|
34 |
make() # usage: [silent=1] table_make target...
|
|
34 |
make() # usage: table_make target... |
|
35 | 35 |
{ |
36 |
echo_func; kw_params silent
|
|
37 |
cmd_log_fd=1 self ${silent:+--silent }"$@"
|
|
36 |
echo_func |
|
37 |
cmd_log_fd=1 self $(if ! can_log; then echo '--silent '; fi)"$@"
|
|
38 | 38 |
} |
39 | 39 |
|
40 | 40 |
top_make() { echo_func; make --directory="$top_dir" "$@"; } |
Also available in: Unified diff
lib/sh/make.sh: make(): determine --silent status based on the verbosity (<=0) instead of a kw param