summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>2022-10-06 01:32:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-10-06 02:06:01 (GMT)
commitebb6c1660713e7924c14d251aa6297affaabe5f6 (patch)
tree8befa9f63f75eb91e47b7d5ef7ef88648edca25d /Makefile
parentf2eed22852b0a21556f0c9f56732913eba553e62 (diff)
downloadgit-ebb6c1660713e7924c14d251aa6297affaabe5f6.zip
git-ebb6c1660713e7924c14d251aa6297affaabe5f6.tar.gz
git-ebb6c1660713e7924c14d251aa6297affaabe5f6.tar.bz2
Makefile: clarify runtime relative gitexecdir
"git" built with RUNTIME_PREFIX flag turned on could figure out gitexecdir and other paths as relative to "git" executable. However, in the section specifies gitexecdir, RUNTIME_PREFIX wasn't mentioned, thus users may wrongly assume that "git" always locates gitexecdir as relative path to the executable. Let's clarify that only "git" built with RUNTIME_PREFIX will locate gitexecdir as relative path. Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 12be39a..3625b63 100644
--- a/Makefile
+++ b/Makefile
@@ -504,8 +504,9 @@ GIT-VERSION-FILE: FORCE
# template_dir
# sysconfdir
# can be specified as a relative path some/where/else;
-# this is interpreted as relative to $(prefix) and "git" at
-# runtime figures out where they are based on the path to the executable.
+# this is interpreted as relative to $(prefix) and "git" built with
+# RUNTIME_PREFIX flag will figure out (at runtime) where they are
+# based on the path to the executable.
# Additionally, the following will be treated as relative by "git" if they
# begin with "$(prefix)/":
# mandir