summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a1367d1)
raw | patch | inline | side by side (parent: a1367d1)
author | Sergey Vlasov <vsu@altlinux.ru> | |
Thu, 1 Mar 2007 19:41:14 +0000 (22:41 +0300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 1 Mar 2007 21:24:54 +0000 (13:24 -0800) |
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>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/build-docdep.perl | patch | blob | history |
index 489389c32af57d39bb843e2b0621144b38006fa3..ba4205e0302a267a5da6bef504f3e69eb0c4aa6d 100755 (executable)
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";
}
}