Re: [PATCH 4/4] Move initialization of Git::SVN variables into Git::SVN.
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:21
Michael G Schwern [off-list ref] writes:
On 2012.7.27 1:07 PM, Eric Wong wrote:quoted
While Makefile.PL now finds .pm files on its own, it does not detect new files after it generates perl/perl.mak.Are you saying this doesn't work? perl Makefile.PL make -f perl.mak touch Git/Foo.pm perl Makefile.PL make -f perl.mak or this? perl Makefile.PL make -f perl.mak touch Git/Foo.pm make -f perl.mak
Neither of the above. Nobody should be typing "perl Makefile.PL"
inside our source tree unless he is trying to debug our Makefiles
anyway.
What does not work is this sequence:
make
>perl/Git/Foo.pm
make
Makefile at the top-level, which builds perl/perl.mak by running
"perl Makefile.PL" in perl/ subdirectory, doesn't have dependencies
[*1*], so in the above sequence, the second invocation of "make"
fails to rebuild perl/perl.mak, which causes Git/Foo.pm forgotten
from the build/installation step.
And that is what happened to Git/SVN.pm.
[Footnote]
*1* I also suspect perl/Makefile lacks this dependency even though
it has its own rule to build perl/perl.mak---don't they need to be
cleaned-up and merged???