[PATCH 1/2] Test suite fixup.
[git/gitweb.git] / Documentation / Makefile
bloba3ad85dce757560cc704a5c9342936b86e46658e
1 DOC_SRC=$(wildcard git*.txt)
2 DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
3 DOC_MAN=$(patsubst %.txt,%.1,$(DOC_SRC))
5 all: $(DOC_HTML) $(DOC_MAN)
7 html: $(DOC_HTML)
9 man: $(DOC_MAN)
11 # 'include' dependencies
12 git-diff-%.txt: diff-format.txt
13 touch $@
15 clean:
16 rm -f *.xml *.html *.1
18 %.html : %.txt
19 asciidoc -b css-embedded -d manpage $<
21 %.1 : %.xml
22 xmlto man $<
24 %.xml : %.txt
25 asciidoc -b docbook -d manpage $<