Fix perl/ build.
An earlier commit f848718a broke the build in perl/ directory by allowing the Makefile.PL to overwrite the now-tracked Makefile. Fix this by forcing Makefile.PL to produce its output in perl.mak as the broken commit originally intended. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Dec 8, 2006 at 14:07 UTC
2cdf87ebd9976d98d544669d94b111fea731d2ba
2 files changed
+2
-1
perl/Makefile
+1
-1
@@ -29,7 +29,7 @@ $(makfile): ../GIT-CFLAGS Makefile
29
echo ' echo $(instdir_SQ)' >> $@
30
else
31
$(makfile): Makefile.PL ../GIT-CFLAGS
32
- '$(PERL_PATH_SQ)' $< FIRST_MAKEFILE='$@' PREFIX='$(prefix_SQ)'
32
+ '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
33
endif
34
35
# this is just added comfort for calling make directly in perl dir
perl/Makefile.PL
+1
@@ -24,5 +24,6 @@ WriteMakefile(
24
NAME => 'Git',
25
VERSION_FROM => 'Git.pm',
26
PM => \%pm,
27
+ MAKEFILE => 'perl.mak',
28
%extra
29
);