[PATCH] Prepare diffcore interface for diff-tree header supression.
[git/dscho.git] / Documentation / Makefile
blob27ae781a776f8da20b15578725992357f353bb19
1 DOC_SRC=$(wildcard git*.txt)
2 DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
3 DOC_MAN=$(patsubst %.txt,%.1,$(wildcard git-*.txt)) git.7
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 *.7
18 %.html : %.txt
19 asciidoc -b css-embedded -d manpage $<
21 %.1 %.7 : %.xml
22 xmlto man $<
23 # FIXME: this next line works around an output filename bug in asciidoc 6.0.3
24 [ "$@" = "git.7" ] || mv git.1 $@
26 %.xml : %.txt
27 asciidoc -b docbook -d manpage $<