mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Perly git: work around buggy make implementations.
FC4 uses gnumake 3.80 whose annoying "Entering directory..." messages are not silenced with -s alone. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
c35ebc902f
commit
893973a6f2
2
Makefile
2
Makefile
|
@ -549,7 +549,7 @@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
|
|||
$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/Makefile
|
||||
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
|
||||
rm -f $@ $@+
|
||||
INSTLIBDIR=`make -s -C perl instlibdir` && \
|
||||
INSTLIBDIR=`$(MAKE) -C perl -s --no-print-directory instlibdir` && \
|
||||
sed -e '1s|#!.*perl\(.*\)|#!$(PERL_PATH_SQ)\1|' \
|
||||
-e 's|@@INSTLIBDIR@@|'"$$INSTLIBDIR"'|g' \
|
||||
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
|
||||
|
|
|
@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
|
|||
sub MY::postamble {
|
||||
return <<'MAKE_FRAG';
|
||||
instlibdir:
|
||||
@echo $(INSTALLSITEARCH)
|
||||
@echo '$(INSTALLSITEARCH)'
|
||||
|
||||
MAKE_FRAG
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue