]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/Makefile
Split up git-pull-script into separate "fetch" and "merge" phases.
[thirdparty/git.git] / Documentation / Makefile
CommitLineData
b790abb8
DG
1DOC_SRC=$(wildcard git*.txt)
2DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
7984eabe 3DOC_MAN=$(patsubst %.txt,%.1,$(wildcard git-*.txt)) git.7
b790abb8
DG
4
5all: $(DOC_HTML) $(DOC_MAN)
6
7html: $(DOC_HTML)
8
9man: $(DOC_MAN)
10
f77b100a
DG
11# 'include' dependencies
12git-diff-%.txt: diff-format.txt
13 touch $@
b790abb8
DG
14
15clean:
7984eabe 16 rm -f *.xml *.html *.1 *.7
b790abb8
DG
17
18%.html : %.txt
19 asciidoc -b css-embedded -d manpage $<
20
7984eabe 21%.1 %.7 : %.xml
b790abb8 22 xmlto man $<
7984eabe
SK
23 # FIXME: this next line works around an output filename bug in asciidoc 6.0.3
24 [ "$@" = "git.7" ] || mv git.1 $@
b790abb8
DG
25
26%.xml : %.txt
27 asciidoc -b docbook -d manpage $<