aboutsummaryrefslogtreecommitdiffstats
path: root/docs/makedocs.pl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-09 01:33:30 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-09 01:33:30 +0200
commit9ad3cf5bfc73bd34b0ce309e45d9703691376748 (patch)
tree851c28bdc3e543f40139e17b709233293a034f58 /docs/makedocs.pl
parent652ee91875d03c2f9f63d004698e58b450e90186 (diff)
downloadbugs-9ad3cf5bfc73bd34b0ce309e45d9703691376748.tar
bugs-9ad3cf5bfc73bd34b0ce309e45d9703691376748.tar.gz
bugs-9ad3cf5bfc73bd34b0ce309e45d9703691376748.tar.bz2
bugs-9ad3cf5bfc73bd34b0ce309e45d9703691376748.tar.xz
bugs-9ad3cf5bfc73bd34b0ce309e45d9703691376748.zip
Bug 1204957 - Locally compiled POD documentation is no longer accessible from docs/en/html/api/
r=dkl
Diffstat (limited to 'docs/makedocs.pl')
-rwxr-xr-xdocs/makedocs.pl10
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl
index 6f353dc6d..36ffc45b5 100755
--- a/docs/makedocs.pl
+++ b/docs/makedocs.pl
@@ -35,7 +35,7 @@ use lib qw(.. ../lib lib);
use Cwd;
use File::Copy::Recursive qw(rcopy);
use File::Find;
-use File::Path qw(rmtree);
+use File::Path qw(rmtree make_path);
use File::Which qw(which);
use Pod::Simple;
@@ -52,7 +52,6 @@ sub MakeDocs {
my ($name, $cmdline) = @_;
say "Creating $name documentation ..." if defined $name;
- say "make $cmdline\n";
system('make', $cmdline) == 0
or $error_found = 1;
print "\n";
@@ -83,12 +82,11 @@ END_HTML
$converter->contents_page_start($contents_start);
$converter->contents_page_end("</body></html>");
- $converter->add_css('./../../../style.css');
+ $converter->add_css('./../../../../style.css');
$converter->javascript_flurry(0);
$converter->css_flurry(0);
- mkdir("html");
- mkdir("html/api");
- $converter->batch_convert(['../../'], 'html/api/');
+ make_path('html/integrating/api');
+ $converter->batch_convert(['../../'], 'html/integrating/api');
print "\n";
}