summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Dennis Stosberg <dennis@stosberg.net>2006-06-27 00:21:07 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-02 17:14:43 -0700
commitde86e131b538a021c14d53c6cc98bd7f0330dc92 (patch)
tree2390cd9c46f233b46c78197d9b54ba491146dafe /Makefile
parent"test" in Solaris' /bin/sh does not support -e (diff)
downloadtgif-de86e131b538a021c14d53c6cc98bd7f0330dc92.tar.xz
Makefile fix for Solaris
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13411eafdc..1121d3e91a 100644
--- 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' \