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

[PATCH] Documentation: fix man page dependency on asciidoc.conf

From
John Keeping <john@keeping.me.uk>
Date
Jan 5, 2013, 16:00 UTC
Message-ID
<20130105160017.GD6440@serenity.lan>

When building manual pages, the source text is transformed to XML with AsciiDoc before the man pages are generated from the XML with xmlto.

Fix the dependency in the Makefile so that the XML files are rebuilt when asciidoc.conf changes and not just the manual pages from unchanged XML.

Signed-off-by: John Keeping <john@keeping.me.uk>
---
 Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index e53d333..71d2b4a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -178,7 +178,7 @@ all: html man
 
 html: $(DOC_HTML)
 
-$(DOC_HTML) $(DOC_MAN1) $(DOC_MAN5) $(DOC_MAN7): asciidoc.conf
+$(DOC_HTML) $(MAN_XML): asciidoc.conf
 
 man: man1 man5 man7
 man1: $(DOC_MAN1)
-- 
1.8.0.2
Next: Jonathan Nieder
Message 1 of 6 in “Documentation: fix man page dependency on asciidoc.conf”
  1. Documentation: fix man page dependency on asciidoc.confJohn Keeping, Jan 5, 2013
  2. Jonathan NiederJan 5, 2013
  3. Junio C HamanoJan 6, 2013
  4. docs: manpage XML depends on asciidoc.confJonathan Nieder, Jan 6, 2013
  5. John KeepingJan 6, 2013
  6. Junio C HamanoJan 6, 2013

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.