make-dfsg/tests/scripts/variables
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
..
automatic Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
CURDIR
DEFAULT_GOAL Fix problems with losing tokens in the jobserver, reported by Grant 2005-05-03 13:57:20 +00:00
flavors
MAKE * New feature: -L option 2005-02-28 07:48:22 +00:00
MAKE_RESTARTS Add a new variable: MAKE_RESTARTS, to count how many times make has re-exec'd. 2005-06-25 18:57:28 +00:00
MAKECMDGOALS
MAKEFILES
MAKELEVEL
MFILE_LIST * New feature: -L option 2005-02-28 07:48:22 +00:00
SHELL If we're on a DOS/W32/OS2 system and we're not using a unixy shell, don't 2005-08-25 04:40:10 +00:00
special