threads / patch / 9952

patchmore dependencies in doc generation

Subject: [PATCH] more dependencies in doc generation

## tl;dr

2 messages between Sep 20, 2007 and Sep 20, 2007. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Alexey Mahotkin· Sep 20, 2007, 20:43 UTC · lore
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:

Show changes to Documentation/Makefile +2 −2
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/
Alexey Mahotkin· Sep 20, 2007, 21:42 UTC · re: Alexey Mahotkin · lore

Re: [PATCH] more dependencies in doc generation

On 9/21/07, Alexey Mahotkin <squadette@gmail.com> wrote:
Show 5 quoted lines
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -135,11 +135,11 @@ clean:
> -%.xml : %.txt
> +%.xml : %.txt asciidoc.conf
This change is not needed, sorry.
-- 
Alexey Mahotkin
http://www.versioncontrolblog.com/

← back to recent threads