diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-09 01:32:24 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2016-04-09 01:32:24 +0200 |
commit | fb7c253e86deaa46790a8a1874fa976c9771e677 (patch) | |
tree | 6c08acd49720a87ddf4c32edcbf9997f5e52fd97 /docs/makedocs.pl | |
parent | fa360bee1863b1cb715a29966567ae08118de9a5 (diff) | |
download | bugzilla-fb7c253e86deaa46790a8a1874fa976c9771e677.tar.gz bugzilla-fb7c253e86deaa46790a8a1874fa976c9771e677.tar.xz |
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-x | docs/makedocs.pl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl index 81d098a94..2d57fc9a5 100755 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -34,7 +34,7 @@ use lib qw(.. ../lib lib ../local/lib/perl5); use Cwd; use File::Copy::Recursive qw(rcopy); -use File::Path qw(rmtree); +use File::Path qw(rmtree make_path); use File::Which qw(which); use Pod::Simple; @@ -51,7 +51,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"; @@ -82,12 +81,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"; } |