diff options
Diffstat (limited to 'docs/makedocs.pl')
-rwxr-xr-x | docs/makedocs.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl index be5573080..a58848403 100755 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -156,11 +156,12 @@ foreach my $lang (@langs) { my $dst = "$docparent/$lang/rst/api/extensions/$ext_name"; mkdir($dst) unless -d $dst; rcopy("$path/*", $dst); - next; } - my $dst = "$docparent/$lang/rst/extensions/$ext_name"; - mkdir($dst) unless -d $dst; - rcopy($path, "$dst/$file"); + else { + my $dst = "$docparent/$lang/rst/extensions/$ext_name"; + mkdir($dst) unless -d $dst; + rcopy($path, "$dst/$file"); + } } } |