X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2FMakefile;h=bff43e0c6ec76cad2610560a6b261dea96bfaf0e;hb=e6fc2346c17b9a4ee274d509429042eec9c14db5;hp=7fad5ba0e9c98d7a442de581756e92f7afc666ef;hpb=23bb8df2fb334368b6bd36908d13877cf6eae219;p=git.git diff --git a/Documentation/Makefile b/Documentation/Makefile index 7fad5ba0e..bff43e0c6 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,8 +1,9 @@ MAN1_TXT=$(wildcard git-*.txt) MAN7_TXT=git.txt -DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT)) glossary.html - +DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT)) +DOC_HTML += glossary.html +DOC_HTML += tutorial.html DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT)) DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT)) @@ -43,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 $< @@ -59,3 +60,18 @@ glossary.html : glossary.txt sort_glossary.pl perl sort_glossary.pl | \ asciidoc -b xhtml11 - > glossary.html +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)