summaryrefslogtreecommitdiffstats
path: root/docs/makedocs.pl
diff options
context:
space:
mode:
Diffstat (limited to 'docs/makedocs.pl')
-rwxr-xr-xdocs/makedocs.pl9
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");
+ }
}
}