From f4c5d1ac6dc6148c10cfbbbdca083791322fede9 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Mon, 20 Jan 2014 16:04:51 +0000 Subject: Bug 961775 - add "--pod-only" and "--with-pdf" switches to makedocs.pl. Patches by gerv and LpSolit; r=wicked, a=glob. --- docs/makedocs.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/makedocs.pl') 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; } -- cgit v1.2.3-24-g4f1b