aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael J Gruber <michaeljgruber+gmane@fastmail.fm>2008-09-10 10:19:34 +0200
committerJunio C Hamano <gitster@pobox.com>2008-09-10 15:41:51 -0700
commit414851a42ecd6f104de517f628cfc09465ea7fa5 (patch)
treec7c7ddee86b820a922692ecdb6141b21956b4d3a /Makefile
parent6fe570de05513bc13ac1e00ab3508ca525b41135 (diff)
downloadgit-414851a42ecd6f104de517f628cfc09465ea7fa5.tar.gz
git-414851a42ecd6f104de517f628cfc09465ea7fa5.tar.xz
separate build targets for man and html documentation
This introduces new build targets "man" and "html" which allow building the documentation in the respective formats separately. This helps people with a partial documentation build chain: html pages can be built without xmlto. This is documented in INSTALL now, together with corrections: Before, instructions in INSTALL would build man+html but install man only. Now the instructions build and install both, and new and pre-existing targets are explained. Note that build targets "doc" and "man" correspond to install targets "install-doc install-html" and "install-doc" respectively. This inconsistency is not changed, in order to keep everyone's build scripts from breaking. Signed-off-by: Michael J Gruber <michaeljgruber+gmane@fastmail.fm> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 857bc0990..792cbe2f1 100644
--- a/Makefile
+++ b/Makefile
@@ -1267,6 +1267,12 @@ $(XDIFF_LIB): $(XDIFF_OBJS)
doc:
$(MAKE) -C Documentation all
+man:
+ $(MAKE) -C Documentation man
+
+html:
+ $(MAKE) -C Documentation html
+
info:
$(MAKE) -C Documentation info