Documentation: build html for all files in technical and howto
These files were recently revised to be valid asciidoc, so there is no reason not to build html versions. Signed-off-by: Thomas Ackermann <th.acker66@arcor.de> Signed-off-by: Jeff King <peff@peff.net>
Thomas Ackermann committed
Oct 23, 2012 at 19:58 UTC
5e00439f0a522c6f240791b0d105a17e0dde3247
1 file changed
+24
-2
Documentation/Makefile
+24
-2
@@ -24,8 +24,30 @@ SP_ARTICLES = user-manual
24
SP_ARTICLES += howto/revert-branch-rebase
25
SP_ARTICLES += howto/using-merge-subtree
26
SP_ARTICLES += howto/using-signed-tag-in-pull-request
27
+SP_ARTICLES += howto/use-git-daemon
28
+SP_ARTICLES += howto/update-hook-example
29
+SP_ARTICLES += howto/setup-git-server-over-http
30
+SP_ARTICLES += howto/separating-topic-branches
31
+SP_ARTICLES += howto/revert-a-faulty-merge
32
+SP_ARTICLES += howto/recover-corrupted-blob-object
33
+SP_ARTICLES += howto/rebuild-from-update-hook
34
+SP_ARTICLES += howto/rebuild-from-update-hook
35
+SP_ARTICLES += howto/rebase-from-internal-branch
36
+SP_ARTICLES += howto/maintain-git
37
API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technical/api-index.txt, $(wildcard technical/api-*.txt)))
38
SP_ARTICLES += $(API_DOCS)
39
+
40
+TECH_DOCS = technical/index-format
41
+TECH_DOCS += technical/pack-format
42
+TECH_DOCS += technical/pack-heuristics
43
+TECH_DOCS += technical/pack-protocol
44
+TECH_DOCS += technical/protocol-capabilities
45
+TECH_DOCS += technical/protocol-common
46
+TECH_DOCS += technical/racy-git
47
+TECH_DOCS += technical/send-pack-pipeline
48
+TECH_DOCS += technical/shallow
49
+TECH_DOCS += technical/trivial-merge
50
+SP_ARTICLES += $(TECH_DOCS)
51
SP_ARTICLES += technical/api-index
52
53
DOC_HTML += $(patsubst %,%.html,$(ARTICLES) $(SP_ARTICLES))
@@ -231,7 +253,7 @@ clean:
253
$(RM) *.texi *.texi+ *.texi++ git.info gitman.info
254
$(RM) *.pdf
255
$(RM) howto-index.txt howto/*.html doc.dep
234
- $(RM) technical/api-*.html technical/api-index.txt
256
+ $(RM) technical/*.html technical/api-index.txt
257
$(RM) $(cmds_txt) *.made
258
$(RM) manpage-base-url.xsl
259
@@ -264,7 +286,7 @@ technical/api-index.txt: technical/api-index-skel.txt \
286
$(QUIET_GEN)cd technical && '$(SHELL_PATH_SQ)' ./api-index.sh
287
288
technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../
267
-$(patsubst %,%.html,$(API_DOCS) technical/api-index): %.html : %.txt
289
+$(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt
290
$(QUIET_ASCIIDOC)$(ASCIIDOC) -b xhtml11 -f asciidoc.conf \
291
$(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) $*.txt
292