Fixed misnamed t/t2010-update-cache-badpath.sh
[git.git] / Documentation / Makefile
1 DOC_SRC=$(wildcard git*.txt)
2 DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
3 DOC_MAN=$(patsubst %.txt,%.1,$(DOC_SRC))
4
5 all: $(DOC_HTML) $(DOC_MAN)
6
7 html: $(DOC_HTML)
8
9 man: $(DOC_MAN)
10
11 # 'include' dependencies
12 git-diff-%.txt: diff-format.txt
13         touch $@
14
15 clean:
16         rm -f *.xml *.html *.1
17
18 %.html : %.txt
19         asciidoc -b css-embedded -d manpage $<
20
21 %.1 : %.xml
22         xmlto man $<
23
24 %.xml : %.txt
25         asciidoc -b docbook -d manpage $<