From 762dbb3fef2ba5cd107247c7ffef4eb2f2dbd0d6 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Wed, 13 Aug 2014 18:35:12 +0100 Subject: [PATCH] Update Jamfile.v2 Fix PDF documentation build: Fix path to images when building PDF. Use default path for admon graphics. Turn off draft mode - it's not a draft anymore. Change name of pdf install rule - apparently Boost.Build no longer accepts target names with hyphens in them :-( --- doc/Jamfile.v2 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 3ca8aa1a..a81142c5 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -10,6 +10,7 @@ using quickbook ; using boostbook ; using doxygen ; import modules ; +path-constant here : . ; project : requirements $(BOOST_ROOT)/tools/auto_index/include @@ -227,9 +228,9 @@ boostbook standalone pdf:admon.graphics.extension=".svg" # pdf:use.role.for.mediaobject=1 # Use print role on next line. pdf:preferred.mediaobject.role=print # pdf role is to be printed. - pdf:img.src.path=$(images_location)/ # Path of image (.svg) files. (Note trailing /) ? - pdf:admon.graphics.path=$(nav_images)/ # path to admonition (warning, note...) image (.svg) files. - pdf:draft.mode="yes" # Yes if draft watermark wanted! + pdf:img.src.path=$(here)/html/ # Path of image (.svg) files. (Note trailing /) ? + #pdf:admon.graphics.path=$(nav_images)/ # path to admonition (warning, note...) image (.svg) files. + #pdf:draft.mode="yes" # Yes if draft watermark wanted! #pdf:draft.watermark.image="draft.png" # Watermark (local copy). #pdf:draft.watermark.image=http://docbook.sourceforge.net/release/images/draft.png # Watermark. @@ -271,11 +272,6 @@ boostbook standalone # will rename the file to the expected filename, here quick_auto_dox_index.pdf. # . means installed in same place as this jamfile, /doc. -install pdf-install : standalone : PDF . checks.pdf ; +install pdfinstall : standalone : PDF . odeint.pdf ; install callouts : [ glob src/images/callouts/*.png ] : html/images/callouts ; - - - - -