diff options
author | Paul Smith <psmith@gnu.org> | 2022-11-28 01:42:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-11-28 04:18:55 +0300 |
commit | 9f95c7aefa8419b697972abd9d25ce9062fac2bf (patch) | |
tree | 1f96cc089c6c8086a17ff4ab2def760a58603ec7 /attr.h | |
parent | e7e5c6f715b2de7bea0d39c7d2ba887335b40aa0 (diff) |
Makefile: avoid multiple patterns when recipes generate one file
A GNU make pattern rule with multiple targets has always meant that
a single invocation of the recipe will build all the targets.
However in older versions of GNU make a recipe that did not really
build all the targets would be tolerated.
Starting with GNU make 4.4 this behavior is deprecated and pattern
rules are expected to generate files to match all the patterns.
If not all targets are created then GNU make will not consider any
target up to date and will re-run the recipe when it is run again.
Modify Documentation/Makefile to split the man page-creating pattern
rule into a separate pattern rule for each pattern.
Reported-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Paul Smith <psmith@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.h')
0 files changed, 0 insertions, 0 deletions