git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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/
Next: Alexey Mahotkin
Message 1 of 2 in “more dependencies in doc generation”
  1. more dependencies in doc generationAlexey Mahotkin, Sep 20, 2007
  2. Alexey MahotkinSep 20, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.