Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2022-04-28 18:49:39 +0300
committerToon Claes <toon@gitlab.com>2022-04-28 18:49:39 +0300
commitfce0a7487ccf90a866bf6a2428b23b428cd67c5c (patch)
treeb8afc14f9d1f67202c506274875ea9581b911b1a
parent3676a06b0671b843153e6c123231396ae6b9b546 (diff)
parente126a82921b3ae9fc5f25a20c99dcbbee09240ea (diff)
Merge branch 'pks-makefile-git-improvements' into 'master'
Makefile: Small improvements to how Git is built See merge request gitlab-org/gitaly!4506
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8d9846c64..c0171df07 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,6 @@ ifeq ($(origin GIT_BUILD_OPTIONS),undefined)
GIT_BUILD_OPTIONS += NO_TCLTK=YesPlease
GIT_BUILD_OPTIONS += NO_GETTEXT=YesPlease
GIT_BUILD_OPTIONS += NO_PYTHON=YesPlease
- GIT_BUILD_OPTIONS += NO_INSTALL_HARDLINKS=YesPlease
PCRE_PC=libpcre2-8
ifeq ($(shell pkg-config --exists ${PCRE_PC} && echo exists),exists)
GIT_BUILD_OPTIONS += LIBPCREDIR=$(shell pkg-config ${PCRE_PC} --variable prefix)
@@ -557,7 +556,8 @@ $(patsubst %,${DEPENDENCY_DIR}/git-\%/%,${GIT_EXECUTABLES}): ${DEPENDENCY_DIR}/g
${Q}env -u PROFILE -u MAKEFLAGS -u GIT_VERSION ${MAKE} -C "${@D}" -j$(shell nproc) prefix=${GIT_PREFIX} ${GIT_BUILD_OPTIONS} ${GIT_EXECUTABLES}
${Q}touch $@
-${GIT_PREFIX}/bin/git: ${DEPENDENCY_DIR}/git-${GIT_VERSION}.${GIT_EXTRA_VERSION}/Makefile
+# This target builds a full Git distribution and installs it into GIT_PREFIX.
+${GIT_PREFIX}/bin/git: ${DEPENDENCY_DIR}/git-distribution/Makefile
@ # Remove the Git installation first in case GIT_PREFIX is the default
@ # prefix which always points into our build directory. This is done so
@ # we never end up with mixed Git installations on developer machines.