diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-31 02:04:42 +0100 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-31 02:04:42 +0100 |
commit | 75f416ec6a3b3bee6739f8bf28963b347a3aaa4c (patch) | |
tree | 7037da6bf1ddb8ac557b373081040c8d03a8bc8a | |
parent | Merge branch 'sd/doc-smtp-encryption' (diff) | |
parent | Documentation/build-docdep.perl: generate sorted output (diff) | |
download | git-75f416ec6a3b3bee6739f8bf28963b347a3aaa4c.tar.xz git-75f416ec6a3b3bee6739f8bf28963b347a3aaa4c.zip |
Merge branch 'sg/stable-docdep'
Make sure generated dependency file is stably sorted to help
developers debugging their build issues.
* sg/stable-docdep:
Documentation/build-docdep.perl: generate sorted output
-rwxr-xr-x | Documentation/build-docdep.perl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/build-docdep.perl b/Documentation/build-docdep.perl index ba4205e030..1b3ac8fdd9 100755 --- a/Documentation/build-docdep.perl +++ b/Documentation/build-docdep.perl @@ -38,9 +38,10 @@ while ($changed) { } } -while (my ($text, $included) = each %include) { +foreach my $text (sort keys %include) { + my $included = $include{$text}; if (! exists $included{$text} && (my $base = $text) =~ s/\.txt$//) { - print "$base.html $base.xml : ", join(" ", keys %$included), "\n"; + print "$base.html $base.xml : ", join(" ", sort keys %$included), "\n"; } } |