Skip to content

Commit c0e2b3c

Browse files
committed
Install Git/I18N.pm even in the absence of Perl's MakeMaker
The telltale was that t0202 could not find I18N.pm on msysGit. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 7b7f92e commit c0e2b3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

perl/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ ifdef NO_PERL_MAKEMAKER
2424
instdir_SQ = $(subst ','\'',$(prefix)/lib)
2525
$(makfile): ../GIT-CFLAGS Makefile
2626
echo all: private-Error.pm Git.pm > $@
27-
echo ' mkdir -p blib/lib' >> $@
27+
echo ' mkdir -p blib/lib/Git' >> $@
28+
echo ' $(RM) blib/lib/Git/I18N.pm; cp Git/I18N.pm blib/lib/Git/' >> $@
2829
echo ' $(RM) blib/lib/Git.pm; cp Git.pm blib/lib/' >> $@
2930
echo ' $(RM) blib/lib/Error.pm' >> $@
3031
'$(PERL_PATH_SQ)' -MError -e 'exit($$Error::VERSION < 0.15009)' || \
3132
echo ' cp private-Error.pm blib/lib/Error.pm' >> $@
3233
echo install: >> $@
33-
echo ' mkdir -p "$$(DESTDIR)$(instdir_SQ)"' >> $@
34+
echo ' mkdir -p "$$(DESTDIR)$(instdir_SQ)/Git"' >> $@
35+
echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Git/I18N.pm"; cp Git/I18N.pm "$$(DESTDIR)$(instdir_SQ)/Git/"' >> $@
3436
echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Git.pm"; cp Git.pm "$$(DESTDIR)$(instdir_SQ)"' >> $@
3537
echo ' $(RM) "$$(DESTDIR)$(instdir_SQ)/Error.pm"' >> $@
3638
'$(PERL_PATH_SQ)' -MError -e 'exit($$Error::VERSION < 0.15009)' || \

0 commit comments

Comments
 (0)