make/tests/scripts/features
Kaz Kylheku 8c888d95f6 [SV 8297] Implement "grouped targets" for explicit rules.
This patch allows "grouped targets" using the &: syntax:

  tgt1 tgt2 ... tgtn &: pre1 pre2 ...
        recipe

When the &: separator is used (in single or double colon forms), all
the targets are understood to be built by a single invocation of the
recipe.  This is accomplished by piggy-backing on the already-existing
pattern rule feature, using the file's "also_make" list.

* NEWS: Add information about grouped targets.
* doc/make.texi (Multiple Targets): Add information on grouped targets.
(Pattern Intro): Refer to the new section to discuss multiple patterns.
* src/main.c (main): Add "grouped-targets" to .FEATURES
* src/read.c (make_word_type): Add new types for &: and &::.
(eval): Recognize the &: and &:: separator and remember when used.
(record_files): Accept an indicator of whether the rule is grouped.
If so, update also_make for each file to depend on the other files.
(get_next_mword): Recognize the &: and &:: word types.
* tests/scripts/features/grouped_targets: New test script.
* AUTHORS: Add Kaz Kylheku
2019-05-12 16:29:20 -04:00
..
archives * tests/scripts/features/archives: [SV 54395] Test long archive names. 2018-08-04 17:02:25 -04:00
comments
conditionals
default_names
double_colon
echoing
errors Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
escape
export
grouped_targets [SV 8297] Implement "grouped targets" for explicit rules. 2019-05-12 16:29:20 -04:00
include
jobserver Update regression tests for Windows. 2018-07-02 07:54:07 -04:00
load Rework directory structure to use GNU-recommended "src" directory. 2017-11-19 14:07:22 -05:00
loadapi Rework directory structure to use GNU-recommended "src" directory. 2017-11-19 14:07:22 -05:00
mult_rules
mult_targets
order_only
output-sync Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
override
parallelism * src/main.c (main): Set jobserver permissions before re-execing 2018-09-15 15:08:47 -04:00
patspecific_vars
patternrules [SV 54233] Preserve higher command_state values on also_make targets. 2018-08-04 19:07:59 -04:00
quoting
recursion
reinvoke
rule_glob
se_explicit
se_implicit
se_statpat
shell_assignment
statipattrules
suffixrules [SV 40657] Don't create pattern rules for suffix rules with deps. 2018-09-15 15:08:29 -04:00
targetvars
utf8
varnesting
vpath
vpath2
vpath3
vpathgpath
vpathplus