Revision 13318
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/make.sh | ||
---|---|---|
20 | 20 |
# helper alias; use begin_target instead |
21 | 21 |
# usage: target_filename/command() { echo_func; set_make_vars; use $target...; } |
22 | 22 |
alias set_make_vars="$(cat <<'EOF' |
23 |
log_local; log++ # don\'t display make vars at verbosity 2 to avoid clutter |
|
23 | 24 |
local command="${FUNCNAME##*/}"; echo_vars command |
24 | 25 |
local target_filename="${FUNCNAME%/*}"; echo_vars target_filename |
25 | 26 |
local target="$top_dir/$target_filename"; echo_vars target |
26 | 27 |
local target_stem="${target_filename%.*}"; echo_vars target_stem |
27 | 28 |
local _remake="$remake" remake=; echo_vars _remake |
29 |
log-- |
|
28 | 30 |
EOF |
29 | 31 |
)" # `remake=`: don't progagate remake to prerequisites |
30 | 32 |
|
Also available in: Unified diff
lib/sh/make.sh: set_make_vars: don't display make vars at verbosity 2 to avoid clutter