Branch: refs/heads/yves/stop_make_depend_inf_loop
  Home:   https://github.com/Perl/perl5
  Commit: 36c6fcccf87e0bf64045db4336bfeb68bec0b64d
      
https://github.com/Perl/perl5/commit/36c6fcccf87e0bf64045db4336bfeb68bec0b64d
  Author: Yves Orton <[email protected]>
  Date:   2026-09-21 (Mon, 21 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

Reply via email to