[PATCH] more dependencies in doc generation
- From
Alexey Mahotkin <squadette@gmail.com>
- Date
- Sep 20, 2007, 20:43 UTC
- Message-ID
- <bb5b640b0709201343j5a04a554ib91785b43464d4d2@mail.gmail.com>
Hi,
I'm trying to solve the problem with `man git-diff' (unescaped troff sequences in manpage), and the first thing that will obviously help is the following patch:
diff --git a/Documentation/Makefile b/Documentation/Makefile index fbefe9a..310d6a5 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -135,11 +135,11 @@ clean: $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< mv $@+ $@ -%.1 %.5 %.7 : %.xml +%.1 %.5 %.7 : %.xml callouts.xsl $(RM) $@ xmlto -m callouts.xsl man $< -%.xml : %.txt +%.xml : %.txt asciidoc.conf $(RM) $@+ $@ $(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \ $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< It helps to regenerate things correctly when the stylesheets change. Please apply. Thank you,
-- Alexey Mahotkin http://www.versioncontrolblog.com/