summaryrefslogtreecommitdiffstats
path: root/common/latex.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/latex.py
parentfilesystem: Fix header levels. (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/latex.py')
-rw-r--r--common/latex.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/latex.py b/common/latex.py
index bf5c91d..7f2765c 100644
--- a/common/latex.py
+++ b/common/latex.py
@@ -107,7 +107,6 @@ def local_packages():
return packages
def configure_tests(conf):
-
#
# Using a hint from ita (thank you) :
# https://github.com/waf-project/waf/blob/master/demos/tex/wscript
@@ -164,4 +163,6 @@ def configure_tests(conf):
if fails == 0:
conf.env.RTEMSEXTRAFONTS = 'rtemsextrafonts.sty'
else:
+ if not conf.options.disable_extra_fonts:
+ conf.fatal('Extra fonts not found, install or use --disable-extra-fonts')
conf.env.RTEMSEXTRAFONTS = 'rtemsextrafonts-null.sty'