Project

General

Profile

« Previous | Next » 

Revision 9940

lib/sh/make.sh: added check_wildcard_target_exists alias

View differences:

lib/sh/make.sh
27 27
alias check_target_exists='remaking || require_not_exists "$target" || return 0'
28 28
alias check_fake_target_exists='remaking || declare if_not_exists=1'
29 29
	# defer check until to_file
30
alias wildcard1_target='local target="$(wildcard1 "$top_dir"/$target_filename)"'
31
alias check_wildcard_target_exists='wildcard1_target; check_target_exists'
30 32

  
31 33
# usage: set_make_vars; to_target cmd...
32 34
alias to_target='stdout="$target" to_file ' # last space alias-expands next word

Also available in: Unified diff