Skip to content

Commit

Permalink
Documentation/build-docdep.perl: Fix dependencies for included asciid…
Browse files Browse the repository at this point in the history
…oc files

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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
sigprof authored and Junio C Hamano committed Mar 1, 2007
1 parent a1367d1 commit 2ba91e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Documentation/build-docdep.perl
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
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";
}
}

0 comments on commit 2ba91e9

Please sign in to comment.