summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-04-05 02:15:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-04-05 06:57:59 (GMT)
commit89a56bfbd3fd855cb0c2a381520e6255de41a55e (patch)
treec8053ce97194a4314934093cfdb9cabb2307647f /Makefile
parente96f3689ecd95997a2a474c2b7f21b0a67f138b1 (diff)
downloadgit-89a56bfbd3fd855cb0c2a381520e6255de41a55e.zip
git-89a56bfbd3fd855cb0c2a381520e6255de41a55e.tar.gz
git-89a56bfbd3fd855cb0c2a381520e6255de41a55e.tar.bz2
add --html-path to get the location of installed HTML docs
This can be used in GUIs to open installed HTML documentation in the browser. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7867eac..bcf7cbb 100644
--- a/Makefile
+++ b/Makefile
@@ -1191,6 +1191,7 @@ strip: $(PROGRAMS) git$X
git.o: git.c common-cmds.h GIT-CFLAGS
$(QUIET_CC)$(CC) -DGIT_VERSION='"$(GIT_VERSION)"' \
+ '-DGIT_HTML_PATH="$(htmldir_SQ)"' \
$(ALL_CFLAGS) -c $(filter %.c,$^)
git$X: git.o $(BUILTIN_OBJS) $(GITLIBS)