make-dfsg/tests/scripts/features
Paul Smith 11095a90f1 Make second expansion optional (partial implementation).
I decided this feature was too impacting to make the permanent default
behavior.  This set of changes makes the default behavior of make the
old behavior (no second expansion).  If you want second expansion, you
must define the .SECONDEXPANSION: special target before the first target
that needs it.

This set of changes ONLY fixes explicit and static pattern rules to work
like this.  Implicit rules still have second expansion enabled all the
time: I'll work on that next.

Note that there is still a backward-incompatibility: now to get the old
SysV behavior using $$@ etc. in the prerequisites list you need to set
.SECONDEXPANSION: as well.
2005-10-24 13:01:39 +00:00
..
comments
conditionals
default_names
double_colon
echoing
errors
escape
export
include
mult_rules
mult_targets
order_only Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
override
parallelism
patspecific_vars
patternrules
quoting
recursion
reinvoke
se_explicit Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
se_implicit
se_statpat Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
statipattrules Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
targetvars
varnesting
vpath
vpath2
vpathgpath
vpathplus