summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c35ebc9)
raw | patch | inline | side by side (parent: c35ebc9)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 30 Jun 2006 00:02:21 +0000 (17:02 -0700) | ||
committer | Junio 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>
messages are not silenced with -s alone.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history | |
perl/Makefile.PL | patch | blob | history |
diff --git a/Makefile b/Makefile
index 3c25fb38bfcffb484938ece36c0924a42e3e1698..3810514d501610714c430eeabd3662c53d218654 100644 (file)
--- a/Makefile
+++ b/Makefile
$(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' \
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 92c140d39b662c10204cf54bcd906793b2a1279b..d401a6609bb552627dc3d85c53018d8941420687 100644 (file)
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
sub MY::postamble {
return <<'MAKE_FRAG';
instlibdir:
- @echo $(INSTALLSITEARCH)
+ @echo '$(INSTALLSITEARCH)'
MAKE_FRAG
}