aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-14 19:21:57 -0600
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-15 11:38:24 -0700
commit87a81c834bf48f8cbf8778cae78ed553f3bbd32c (patch)
tree882938d3f2622bfd3c7874a68f0fe20d6d9762d8 /Makefile
parent9dce3c0617ce7065eec53e8e3bb68c571f7d6ee5 (diff)
downloadgit-87a81c834bf48f8cbf8778cae78ed553f3bbd32c.tar.gz
[PATCH] Add doc and install-doc targets to the Makefile
This makes it straightforward for people wanting to build and install the git man pages and the rest of the documentation to do so. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cf162a9dae..dd3c6ccb60 100644
--- a/Makefile
+++ b/Makefile
@@ -192,6 +192,12 @@ rpm: dist
test: all
$(MAKE) -C t/ all
+doc:
+ $(MAKE) -C Documentation all
+
+install-doc:
+ $(MAKE) -C Documentation install
+
clean:
rm -f *.o mozilla-sha1/*.o ppc/*.o $(PROG) $(LIB_FILE)
rm -f git-core-*.tar.gz git-core.spec