Skip to content

Commit ebb6c16

Browse files
sgngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f2eed22 commit ebb6c16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,9 @@ GIT-VERSION-FILE: FORCE
504504
# template_dir
505505
# sysconfdir
506506
# can be specified as a relative path some/where/else;
507-
# this is interpreted as relative to $(prefix) and "git" at
508-
# runtime figures out where they are based on the path to the executable.
507+
# this is interpreted as relative to $(prefix) and "git" built with
508+
# RUNTIME_PREFIX flag will figure out (at runtime) where they are
509+
# based on the path to the executable.
509510
# Additionally, the following will be treated as relative by "git" if they
510511
# begin with "$(prefix)/":
511512
# mandir

0 commit comments

Comments
 (0)