Implement make --all-targets-matching-regexp

2021-04-01 Thread 積丹尼 Dan Jacobson
Let's take Makefile: alzu:; echo $@ Blibco:; echo $@ Norfowitz; echo $@ nillsburg; echo $@ Well let's say we want to run all the capital letter items. We could use $ make Blibco Norfowitz but that isn't as smart as $ make --all-targets-matching-regexp '^[A-Z].*' #Or instead these kinds or regexp

Hard to understand make -B on man page

2021-04-01 Thread 積丹尼 Dan Jacobson
On the make man page, -B, --always-make Unconditionally make all targets. seems to mean for Makefile a:; echo $@ b:; echo $@ c:; echo $@ $ make -B should make all three. Therefore the wording should be more like the INFO page. GNU Make 4.3

[bug #60297] optimize autodeps

2021-04-01 Thread Dmitry Goncharov
Follow-up Comment #10, bug #60297 (project make): That may indeed be useful to have .SECONDARY accept patterns. Do you mean, that when .SECONDARY depends on a pattern the behavior is the same as that of .NOTINTERMEDIATE (as proposed here)? That would be quite surprising for users, would not it?