Skip to content

Commit f4df0a7

Browse files
committed
ED: description about getting target improved
1 parent 6eafad5 commit f4df0a7

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

t/Makefile.pod

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,14 @@ Most test.* targets are summary targets executing a list of the above.
4040
All help.* targets are for documentation of the makefile's targets.
4141
For more details on target names, please see L</O-Saft:Makefile Targets> .
4242

43-
To get a list of all target for testing, use:
43+
To get a list of all individual target for testing, use:
4444

4545
make s-ALL.tests
4646

47+
To get a list of all summary target for testing, use:
48+
49+
make targets | grep ^test
50+
4751
For more such target, please see L</O-Saft:Makefile Targets> .
4852

4953
To get a list of help target, use:
@@ -88,7 +92,7 @@ The sub-headers in this section are referenced from other Makefile* .
8892

8993
=head1 VERSION
9094

91-
@(#) Makefile.pod 3.13 24/08/18 15:13:39
95+
@(#) Makefile.pod 3.14 25/03/18 13:16:30
9296

9397
=head1 AUTHOR
9498

@@ -457,7 +461,7 @@ Naming conventions for targets:
457461
test.name_arg - some pattern rule targets use _ to pass arguments
458462
test.name.log - same as test.name but store results in logfile
459463
test%ext - pattern rule used instead of explicit target rule to
460-
allow spelling variants, like tst.ext or tst-ext
464+
allow spelling variants, like test.ext or test-ext
461465
testarg-TYP-* - targets for testing tool arguments in Makefile.TYP
462466
testcmd-TYP-* - targets for testing tool commands in Makefile.TYP
463467
"tool" may be any of those defined in macro ALL.exe
@@ -480,6 +484,17 @@ by the help texts for the targets using HELP- variables (see below).
480484

481485
=head3 Get information about available targets
482486

487+
Keep in mind that many targets are generated at (make) runtime and are not
488+
visible (to human eyes) in the Makefile* verbatim. To get all individual
489+
targets, use:
490+
491+
make s-ALL.tests
492+
493+
To get list of all test* targets, use:
494+
495+
make targets | grep ^test
496+
make targets target=test\\.
497+
483498
Following make commands can be used as starters to get a list of available
484499
targets, their documentation, information about Makefiles and other help:
485500

0 commit comments

Comments
 (0)