author | Steffen Prohaska <prohaska@zib.de> | |
Sun, 13 Jul 2008 20:31:19 +0000 (22:31 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Jul 2008 21:41:28 +0000 (14:41 -0700) | ||
commit | 868da8d5e329c951f0d0cd049a8f9fecda64d388 | |
tree | 18d55f27096c7ac73827e0b9dc55ed921b886846 | tree | snapshot |
parent | 2de9de5e4ae1353f1552f61cf8cf532e3f1dc5f6 | commit | diff |
help.c: Add support for htmldir relative to git_exec_path()
If htmldir (in the Makefile) is a relative path, this path will now be
interpreted relative to git_exec_path. This can be used to create an
installation that can be moved to a different directory without
re-compiling. The Windows installer (msysgit) is an example for such
a setup.
Note that the Makefile maps htmldir to the define GIT_HTML_PATH.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If htmldir (in the Makefile) is a relative path, this path will now be
interpreted relative to git_exec_path. This can be used to create an
installation that can be moved to a different directory without
re-compiling. The Windows installer (msysgit) is an example for such
a setup.
Note that the Makefile maps htmldir to the define GIT_HTML_PATH.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c | diff | blob | history |