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

[PATCH 1/4] Documentation/build-docdep.perl: Fix dependencies for included asciidoc files

From
Sergey Vlasov <vsu@altlinux.ru>
Date
Mar 1, 2007, 19:41 UTC
Message-ID
<1172778077659-git-send-email-vsu@altlinux.ru>

Adding dependencies on included files to the generated man pages is wrong - includes are processed by asciidoc, therefore the intermediate Docbook XML files really depend on included files. Because of these wrong dependencies the man pages were not rebuilt properly if the intermediate XML files were left in the tree.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
---
 Documentation/build-docdep.perl |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/Documentation/build-docdep.perl b/Documentation/build-docdep.perl
index 489389c..ba4205e 100755
--- a/Documentation/build-docdep.perl
+++ b/Documentation/build-docdep.perl
@@ -41,10 +41,6 @@ while ($changed) {
 while (my ($text, $included) = each %include) {
     if (! exists $included{$text} &&
 	(my $base = $text) =~ s/\.txt$//) {
-	my ($suffix) = '1';
-	if ($base eq 'git') {
-	    $suffix = '7'; # yuck...
-	}
-	print "$base.html $base.$suffix : ", join(" ", keys %$included), "\n";
+	print "$base.html $base.xml : ", join(" ", keys %$included), "\n";
     }
 }
-- 
1.5.0.2.285.g5347
Next: Sergey Vlasov
Message 1 of 6 in “Documentation/build-docdep.perl: Fix dependencies for included asciidoc files”
  1. 1/4 Documentation/build-docdep.perl: Fix dependencies for included asciidoc filesSergey Vlasov, Mar 1, 2007
  2. 2/4 Documentation/git-quiltimport.txt: Fix labeled list formattingSergey Vlasov, Mar 1, 2007
  3. 3/4 Documentation/git-send-email.txt: Fix labeled list formattingSergey Vlasov, Mar 1, 2007
  4. 4/4 Documentation/git-svn.txt: Fix formatting errorsSergey Vlasov, Mar 1, 2007
  5. Eric WongMar 1, 2007
  6. Sergey VlasovMar 2, 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.