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 * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
conditionals * read.c (eval): [SV 47960] Skip record waiting files when ignoring. 2016-05-21 16:22:32 -04:00
default_names Clean up some tests for use on Windows. 2013-10-05 19:30:48 -04:00
double_colon [SV 47995] Ensure forced double-colon rules work with -j. 2016-05-31 03:17:26 -04:00
echoing Portability changes for the test suite. 2016-12-26 09:01:59 -05:00
errors Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
escape Add test suite support to Windows 2017-06-04 18:37:20 -04:00
export Add 'private' variable modifier, feature submitted by Ramon Garcia. 2009-05-26 01:31:40 +00:00
grouped_targets [SV 8297] Implement "grouped targets" for explicit rules. 2019-05-12 16:29:20 -04:00
include * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00
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 Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
mult_targets * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
order_only Make second expansion optional (partial implementation). 2005-10-24 13:01:39 +00:00
output-sync Clean up errors for invalid commands and add regression tests. 2018-08-04 12:37:19 -04:00
override - Modify access of config and gnulib Savannah modules to use GIT 2009-06-04 06:30:27 +00:00
parallelism * src/main.c (main): Set jobserver permissions before re-execing 2018-09-15 15:08:47 -04:00
patspecific_vars [SV 39709] Fix some typos. 2013-10-09 01:53:55 -04:00
patternrules [SV 54233] Preserve higher command_state values on also_make targets. 2018-08-04 19:07:59 -04:00
quoting Add test suite support to Windows 2017-06-04 18:37:20 -04:00
recursion Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
reinvoke Add test suite support to Windows 2017-06-04 18:37:20 -04:00
rule_glob [Bug #39310] Parse simple pattern prereqs for globbing. 2013-07-22 02:23:02 -04:00
se_explicit Create a target that tests alternative configurations. 2013-09-21 18:10:08 -04:00
se_implicit [SV 31155] Parse order-only tokens in second expansion results. 2013-09-22 17:10:35 -04:00
se_statpat - Rework secondary expansion so we only defer it if there's a possibility 2009-09-24 02:41:44 +00:00
shell_assignment Add new feature: != shell assignment for portability with BSD make. 2011-04-18 01:25:20 +00:00
statipattrules Fixed Savannah bug #16053. 2006-03-17 14:24:20 +00:00
suffixrules [SV 40657] Don't create pattern rules for suffix rules with deps. 2018-09-15 15:08:29 -04:00
targetvars Add test suite support to Windows 2017-06-04 18:37:20 -04:00
utf8 Ignore UTF-8 BOMs. See Savannah bug #36529. 2012-09-09 21:11:00 +00:00
varnesting Save strings we're expanding in case an embedded eval causes them 2011-08-29 16:20:19 +00:00
vpath Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
vpath2 * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
vpath3 [SV 41758]: Fix archive support for VMS. 2014-10-20 01:31:42 -04:00
vpathgpath Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00
vpathplus * job.c (child_error): Modify error message string. 2017-10-30 17:07:21 -04:00