summaryrefslogtreecommitdiffstats
path: root/common/waf.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-11-09 17:08:05 +1100
committerChris Johns <chrisj@rtems.org>2016-11-09 17:08:05 +1100
commit9330bfbaa7e7855c4b1caa75de78c97197d45733 (patch)
tree395712f2db02d74d32a9b75ca322e5eeb2b3d512 /common/waf.py
parent5431beb47290b642e5b6e2b4e12b07db758c6dcd (diff)
downloadrtems-docs-9330bfbaa7e7855c4b1caa75de78c97197d45733.tar.bz2
waf: Users without the extra fonts need to use '--disable-extra-fonts' to build PDF.
Diffstat (limited to 'common/waf.py')
-rw-r--r--common/waf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/waf.py b/common/waf.py
index c1d3f81..33fff4d 100644
--- a/common/waf.py
+++ b/common/waf.py
@@ -203,7 +203,6 @@ def doc_pdf(ctx, source_dir, conf_dir):
quiet = True)
def doc_singlehtml(ctx, source_dir, conf_dir):
-
#
# Use a run command to handle stdout and stderr output from inliner. Using
# a standard rule in the build context locks up.
@@ -283,6 +282,10 @@ def cmd_build(ctx, conf_dir = ".", source_dir = "."):
doc_html(ctx, source_dir, conf_dir)
def cmd_options(ctx):
+ ctx.add_option('--disable-extra-fonts',
+ action = 'store_true',
+ default = False,
+ help = "Disable building with extra fonts for better quality (lower quality).")
ctx.add_option('--sphinx-verbose',
action = 'store',
default = "-Q",