1 MAN1_TXT=$(wildcard git-*.txt)
4 DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT))
6 DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))
7 DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT))
18 # Please note that there is a minor bug in asciidoc.
19 # The version after 6.0.3 _will_ include the patch found here:
20 # http://marc.theaimsgroup.com/?l=git&m=111558757202243&w=2
22 # Until that version is released you may have to apply the patch
23 # yourself - yes, all 6 characters of it!
36 $(INSTALL) -m755 -d $(dest)/$(man1) $(dest)/$(man7)
37 $(INSTALL) $(DOC_MAN1) $(dest)/$(man1)
38 $(INSTALL) $(DOC_MAN7) $(dest)/$(man7)
40 # 'include' dependencies
41 git-diff-%.txt: diff-format.txt diff-options.txt
45 rm -f *.xml *.html *.1 *.7
48 asciidoc -b xhtml11 -d manpage $<
54 asciidoc -b docbook -d manpage $<