Project

General

Profile

« Previous | Next » 

Revision 12782

lib/sh/make.sh: begin_target: echo all targets to facilitate debugging without needing the verbose stack trace mode

View differences:

trunk/lib/sh/make.sh
29 29
)" # `remake=`: don't progagate remake to prerequisites
30 30

  
31 31
# usage: target() { begin_target; use $target...; }
32
alias begin_target='echo_func; set_make_vars'
32
alias begin_target='echo_target; echo_func; set_make_vars' # echo all targets
33 33

  
34 34
# usage: set_make_vars; ...; remaking || check if exists
35 35
# cmd line usage: [remake=1] func

Also available in: Unified diff