OSDN Git Service

Perly git: work around buggy make implementations.
authorJunio C Hamano <junkio@cox.net>
Fri, 30 Jun 2006 00:02:21 +0000 (17:02 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Jul 2006 00:14:43 +0000 (17:14 -0700)
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>
Makefile
perl/Makefile.PL

index 3c25fb3..3810514 100644 (file)
--- a/Makefile
+++ b/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' \
index 92c140d..d401a66 100644 (file)
@@ -3,7 +3,7 @@ use ExtUtils::MakeMaker;
 sub MY::postamble {
        return <<'MAKE_FRAG';
 instlibdir:
-       @echo $(INSTALLSITEARCH)
+       @echo '$(INSTALLSITEARCH)'
 
 MAKE_FRAG
 }