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>
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>
tests/filter/extract-doctests: Recognise directives first We are going to expand the rules for => expansions and they would match directives too, but we don't want them to. No functional change with existing input. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Legal: Update tests/filter/ inputs and outputs We judiciously use # vs. &# for the legal comment so that each expected output file contains one notice. The following files, which are wholly constructed by running generate and reviewing the diffs, do not have a legal notice: tests/filter/main.mk.expected tests/filter/stderr.expected tests/filter/sub/Dir.mk.expected This is OK I think. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Legal: Add copyright, licence and warranty notice to many files The .sd.mk and .expected files in tests/filter/ are more complicated. We'll do those in a moment. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Legal: Add NO WARRANTY everywhere Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>