summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2014-01-20 17:04:51 +0100
committerGervase Markham <gerv@mozilla.org>2014-01-20 17:04:51 +0100
commitf4c5d1ac6dc6148c10cfbbbdca083791322fede9 (patch)
tree0260179b351a2a43edcc4ebe67f2f7393ee38ec8 /docs
parent3cdb43228841c70a08656eae34f7fa181fdea6d7 (diff)
downloadbugzilla-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-xdocs/makedocs.pl4
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;
}