diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-24 19:41:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-02 17:14:42 -0700 |
commit | f6276fe159fe985af2d5831f4629ceefb33d082e (patch) | |
tree | 35ab6e71e461f31f100e1147ec786ee3ab3402c3 /Makefile | |
parent | d595a473ee628d0f88989d06871d9752caafa7e9 (diff) | |
download | git-f6276fe159fe985af2d5831f4629ceefb33d082e.tar.gz |
Git.pm: tentative fix to test the freshly built Git.pm
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -531,9 +531,12 @@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh chmod +x $@+ mv $@+ $@ -$(patsubst %.perl,%,$(SCRIPT_PERL)) : % : %.perl +$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/Makefile +$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl rm -f $@ $@+ - sed -e '1s|#!.*perl\(.*\)|#!$(PERL_PATH_SQ)\1 -I'"$$(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' \ $@.perl >$@+ chmod +x $@+ |