README: Update copyright date Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Fix documentation errors relating to &{ etc. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
syntax: Support &: literal (for make `grouped' multiple targets) Very recent versions of GNU make support this syntax: foo bar biz &: baz boz echo $^ > foo echo $^ > bar echo $^ > biz (See (make)Multiple Targets, subheading `Rules with Grouped Targets') This use of & is nonoverlapping with everything we care about, so we can just pass it straight through. Passing through &: means we pass through &:: too. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Add subheading `Directives' Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Incompatible change: &$( does not do daft { thing It is silly for &$( to expand to ${. That requires the input to contain non-matched kinds of brackets. The shell compatibility is not needed. In a shell rune, you can write &\$thing since the { } are not normally needed there at all. If they are then now &\${thing} is necessary. It would be possible to steal "&${" (or allow only "&$(") but that seems less good. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Provide convenience syntax &( for $(eval Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Incompatible change: Use &{ not &${ for macros This will be more orthogonal with $( which will come in a moment. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Adjust indent of &${..$..} expansion No change to the meaning. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Support &:local+global !... Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Rescope effect of &:local+global Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
subdirmk: Fix a Subdir left over in README Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Expand &$( and &$NN to use ${ } rather than $( ) And now document the use of $&+ for recipes. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Swap order of &$( and &$NN We are going to add a note to &$( which applies to &$NN too, and this makes it nicer. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: Use ${top_srcdir} rather than $(top_srcdir) Again, this makes it possible to use in $-doubled shell runes as well as in make syntax. (Assuming you have made top_srcdir be a shell variable as well as a make variable.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Syntax: expand &$... to ${....} rather than $(....) This makes it possible to use in $-doubled shell runes as well as in make syntax. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Warnings: Introduce new `broken-var-ref' warning Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Refer to example/ Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Move the "how to use" up Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Add another layer of structure Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
README: Move the Warnings section up into what is going to be spec Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>