Branch: refs/heads/yves/stop_make_depend_inf_loop
Home: https://github.com/Perl/perl5
Commit: 99fed30b4cfccc40c0bfd83f43ebc6899b0c62b0
https://github.com/Perl/perl5/commit/99fed30b4cfccc40c0bfd83f43ebc6899b0c62b0
Author: Yves Orton <[email protected]>
Date: 2026-09-19 (Sat, 19 Sep 2026)
Changed paths:
M Makefile.SH
Log Message:
-----------
build: prevent recursive dependency generation loop
The generated dependency makefile uses README as a sentinel prerequisite. When
README is newer after a checkout, the recursive MAKEDEPEND= pass repeatedly
rebuilds the same target.
Guard the recursive make invocation with the MAKEDEPEND value. The outer pass
still regenerates dependencies, while the recursive pass terminates without
invoking itself again. The guard uses the shell test syntax already supported
by the portable build.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications