diff options
author | Gervase Markham <gerv@gerv.net> | 2014-01-20 17:04:51 +0100 |
---|---|---|
committer | Gervase Markham <gerv@mozilla.org> | 2014-01-20 17:04:51 +0100 |
commit | f4c5d1ac6dc6148c10cfbbbdca083791322fede9 (patch) | |
tree | 0260179b351a2a43edcc4ebe67f2f7393ee38ec8 /docs | |
parent | 3cdb43228841c70a08656eae34f7fa181fdea6d7 (diff) | |
download | bugzilla-f4c5d1ac6dc6148c10cfbbbdca083791322fede9.tar.gz bugzilla-f4c5d1ac6dc6148c10cfbbbdca083791322fede9.tar.xz |
Bug 961775 - add "--pod-only" and "--with-pdf" switches to makedocs.pl. Patches by gerv and LpSolit; r=wicked, a=glob.
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/makedocs.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/makedocs.pl b/docs/makedocs.pl index a5511d2c4..e46f7e7da 100755 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -170,7 +170,9 @@ foreach my $lang (@langs) { make_pod() if $pod_simple; + next if grep { $_ eq '--pod-only' } @ARGV; + MakeDocs('HTML', 'make html'); MakeDocs('TXT', 'make text'); - MakeDocs('PDF', 'make latexpdf'); + MakeDocs('PDF', 'make latexpdf') if grep { $_ eq '--with-pdf' } @ARGV; } |