aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-25 00:28:18 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-25 00:28:18 -0700
commite6fc2346c17b9a4ee274d509429042eec9c14db5 (patch)
tree90c552f6a80049e1813c79a30d9e10f47f37772f /Documentation/Makefile
parent628894b26dbfd4e3619eba0996f7da3f69e7dc5b (diff)
downloadgit-e6fc2346c17b9a4ee274d509429042eec9c14db5.tar.gz
git-e6fc2346c17b9a4ee274d509429042eec9c14db5.tar.xz
Link howto documents from the main git.txt documentation.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 91addedca..bff43e0c6 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -44,7 +44,7 @@ git-diff-%.txt: diff-format.txt diff-options.txt
touch $@
clean:
- rm -f *.xml *.html *.1 *.7
+ rm -f *.xml *.html *.1 *.7 howto-index.txt
%.html : %.txt
asciidoc -b xhtml11 -d manpage $<
@@ -62,3 +62,16 @@ glossary.html : glossary.txt sort_glossary.pl
tutorial.html : tutorial.txt
asciidoc -b xhtml11 tutorial.txt
+
+howto-index.txt: howto-index.sh $(wildcard howto/*.txt)
+ rm -f $@+ $@
+ sh ./howto-index.sh $(wildcard howto/*.txt) >$@+
+ mv $@+ $@
+
+howto-index.html: howto-index.txt
+ asciidoc -b xhtml11 howto-index.txt
+
+WEBDOC_DEST = /pub/software/scm/git/docs
+
+install-webdoc : html
+ sh ./install-webdoc.sh $(WEBDOC_DEST)