Revision 11976
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/make.sh | ||
---|---|---|
17 | 17 |
EOF |
18 | 18 |
)" # `remake=`: don't progagate remake to prerequisites |
19 | 19 |
|
20 |
# usage: remaking || check if exists |
|
20 |
# usage: set_make_vars; ...; remaking || check if exists
|
|
21 | 21 |
# cmd line usage: [remake=1] func |
22 |
# **WARNING**: you *MUST* use set_make_vars at the beginning of any function |
|
23 |
# that uses this, so that $_remake is properly set to $remake and not left at |
|
24 |
# its previous value |
|
22 | 25 |
alias remaking='test "$_remake"' |
23 | 26 |
|
24 | 27 |
# usage: set_make_vars; ...; self_make overridden_target... # progagates $remake |
Also available in: Unified diff
lib/sh/make.sh: remaking alias: documented that you MUST use set_make_vars at the beginning of any function that uses this, so that $_remake is properly set to $remake and not left at its previous value