diff options
author | Jon Seymour <jon.seymour@gmail.com> | 2011-05-01 18:16:25 +1000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-01 21:50:04 -0700 |
commit | f2dd8c3799ddbd7df63a89a9043916f8545a70a3 (patch) | |
tree | 99ba7774cc8c60bef70f107c731ee02cbd0643ce /Makefile | |
parent | ec014eac0e9e6f30cbbca616090fa2ecf74797e7 (diff) | |
download | git-f2dd8c3799ddbd7df63a89a9043916f8545a70a3.tar.gz |
git: add --info-path and --man-path options
Similar to the way the --html-path option lets UI programs learn where git
has its HTML documentation pages, expose the other two paths used to store
the documentation pages of these two types.
Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1676,7 +1676,9 @@ strip: $(PROGRAMS) git$X git.o: common-cmds.h git.s git.o: EXTRA_CPPFLAGS = -DGIT_VERSION='"$(GIT_VERSION)"' \ - '-DGIT_HTML_PATH="$(htmldir_SQ)"' + '-DGIT_HTML_PATH="$(htmldir_SQ)"' \ + '-DGIT_MAN_PATH="$(mandir_SQ)"' \ + '-DGIT_INFO_PATH="$(infodir_SQ)"' git$X: git.o $(BUILTIN_OBJS) $(GITLIBS) $(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ git.o \ |