Skip to content

Commit

Permalink
put Git instructions back into deps/Makefile
Browse files Browse the repository at this point in the history
still being used for mac binaries, ref
#8820 (comment)
  • Loading branch information
tkelman committed Nov 9, 2014
1 parent bb628af commit ec9051e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1679,6 +1679,43 @@ compile-patchelf: $(PATCHELF_SOURCE)
check-patchelf: patchelf-$(PATCHELF_VER)/checked
install-patchelf: $(PATCHELF_TARGET)

## Git
# only used for the mac binaries in contrib/mac/app/Makefile

GIT_SOURCE = git-$(GIT_VER)/src/git
GIT_TARGET = $(build_prefix)/git

git-$(GIT_VER).tar.gz:
$(JLDOWNLOAD) $@ https://git-core.googlecode.com/files/$@
git-$(GIT_VER)/configure: git-$(GIT_VER).tar.gz
$(JLCHECKSUM) $<
$(TAR) zxf $<
touch -c $@
git-$(GIT_VER)/config.status: git-$(GIT_VER)/configure
cd git-$(GIT_VER) && \
./configure $(CONFIGURE_COMMON) --bindir="$(build_libexecdir)"
touch -c $@
$(GIT_SOURCE): git-$(GIT_VER)/config.status
$(MAKE) -C git-$(GIT_VER)
touch -c $@
git-$(GIT_VER)/checked: $(GIT_SOURCE)
echo 1 > $@
$(GIT_TARGET): $(GIT_SOURCE) git-$(GIT_VER)/checked
$(MAKE) -C git-$(GIT_VER) install NO_INSTALL_HARDLINKS=1 $(MAKE_COMMON)
touch -c $@

clean-git:
-$(MAKE) -C git-$(GIT_VER) clean
-rm -f $(GIT_OBJ_TARGET)
distclean-git:
-rm -rf git-$(GIT_VER).tar.gz git-$(GIT_VER)

get-git: git-$(GIT_VER).tar.gz
configure-git: git-$(GIT_VER)/config.status
compile-git: $(GIT_SOURCE)
check-git: git-$(GIT_VER)/checked
install-git: $(GIT_TARGET)

## virtualenv

VIRTUALENV_SOURCE = virtualenv-$(VIRTUALENV_VER)/virtualenv.py
Expand Down
1 change: 1 addition & 0 deletions deps/Versions.make
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ OSXUNWIND_VER = 0.0.1
GMP_VER=6.0.0
MPFR_VER=3.1.2
PATCHELF_VER = 0.8
GIT_VER = 1.8.2.3
VIRTUALENV_VER = 1.11.6
LIBGIT2_VER = 0.21.2

0 comments on commit ec9051e

Please sign in to comment.