OSDN Git Service

Makefile fix for Solaris
authorDennis Stosberg <dennis@stosberg.net>
Mon, 26 Jun 2006 22:21:07 +0000 (00:21 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Jul 2006 00:14:43 +0000 (17:14 -0700)
Solaris' /bin/sh does not support $( )-style command substitution

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 13411ea..1121d3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -534,7 +534,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 -s -C perl instlibdir` && \
        sed -e '1s|#!.*perl\(.*\)|#!$(PERL_PATH_SQ)\1|' \
            -e 's|@@INSTLIBDIR@@|'"$$INSTLIBDIR"'|g' \
            -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \