Skip to content

Commit 4ccf2f5

Browse files
committed
Merge branch 'jk/subtree-install-fix' into maint
We did not generate HTML version of documentation to "git subtree" in contrib/. * jk/subtree-install-fix: subtree: add makefile target for html docs
2 parents 46992b5 + 95c62fb commit 4ccf2f5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

contrib/subtree/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ GIT_SUBTREE := git-subtree
2121
GIT_SUBTREE_DOC := git-subtree.1
2222
GIT_SUBTREE_XML := git-subtree.xml
2323
GIT_SUBTREE_TXT := git-subtree.txt
24+
GIT_SUBTREE_HTML := git-subtree.html
2425

2526
all: $(GIT_SUBTREE)
2627

2728
$(GIT_SUBTREE): $(GIT_SUBTREE_SH)
2829
cp $< $@ && chmod +x $@
2930

30-
doc: $(GIT_SUBTREE_DOC)
31+
doc: $(GIT_SUBTREE_DOC) $(GIT_SUBTREE_HTML)
3132

3233
install: $(GIT_SUBTREE)
3334
$(INSTALL) -d -m 755 $(DESTDIR)$(libexecdir)
@@ -46,6 +47,10 @@ $(GIT_SUBTREE_XML): $(GIT_SUBTREE_TXT)
4647
asciidoc -b docbook -d manpage -f $(ASCIIDOC_CONF) \
4748
-agit_version=$(gitver) $^
4849

50+
$(GIT_SUBTREE_HTML): $(GIT_SUBTREE_TXT)
51+
asciidoc -b xhtml11 -d manpage -f $(ASCIIDOC_CONF) \
52+
-agit_version=$(gitver) $^
53+
4954
test:
5055
$(MAKE) -C t/ test
5156

0 commit comments

Comments
 (0)