diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2007-03-01 22:41:14 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-01 13:24:54 -0800 |
commit | 2ba91e96981fb92f42b01dfae8a315b2965077d5 (patch) | |
tree | b2256c6c5a80a5e14663acae58b0bde14b262ac3 /Documentation | |
parent | a1367d1219439fef8e82e546cbe742910231e5b3 (diff) | |
download | git-2ba91e96981fb92f42b01dfae8a315b2965077d5.tar.gz |
Documentation/build-docdep.perl: Fix dependencies for included asciidoc 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 <vsu@altlinux.ru>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rwxr-xr-x | 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 489389c32a..ba4205e030 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"; } } |