3 git_remote_helpers/Makefile | 2 +-
4 2 files changed, 2 insertions(+), 2 deletions(-)
6 --- a/git_remote_helpers/Makefile
7 +++ b/git_remote_helpers/Makefile
9 $(QUIET)$(PYTHON_PATH) $(pysetupfile) $(QUIETSETUP) build
11 install: $(pysetupfile)
12 - $(PYTHON_PATH) $(pysetupfile) install --prefix $(DESTDIR_SQ)$(prefix)
13 + $(PYTHON_PATH) $(pysetupfile) install --prefix $(prefix) --root $(DESTDIR_SQ)
15 instlibdir: $(pysetupfile)
16 @echo "$(DESTDIR_SQ)$(prefix)/$(PYLIBDIR)"
20 $(patsubst %.py,%,$(SCRIPT_PYTHON)): % : %.py
21 $(QUIET_GEN)$(RM) $@ $@+ && \
22 INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C git_remote_helpers -s \
23 - --no-print-directory prefix='$(prefix_SQ)' DESTDIR='$(DESTDIR_SQ)' \
24 + --no-print-directory prefix='$(prefix_SQ)' DESTDIR=\
26 sed -e '1s|#!.*python|#!$(PYTHON_PATH_SQ)|' \
27 -e 's|\(os\.getenv("GITPYTHONLIB"\)[^)]*)|\1,"@@INSTLIBDIR@@")|' \