Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66963 - in sandbox/variadic_macro_data: . libs/variadic_macro_data/doc libs/variadic_macro_data/test
From: eldiener_at_[hidden]
Date: 2010-12-01 23:52:42


Author: eldiener
Date: 2010-12-01 23:52:38 EST (Wed, 01 Dec 2010)
New Revision: 66963
URL: http://svn.boost.org/trac/boost/changeset/66963

Log:
Updated jamfiles
Added:
   sandbox/variadic_macro_data/Jamfile.v2 (contents, props changed)
   sandbox/variadic_macro_data/Jamroot.jam (contents, props changed)
Text files modified:
   sandbox/variadic_macro_data/libs/variadic_macro_data/doc/jamfile.v2 | 37 ++++++++++---------------------------
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/Jamfile.v2 | 1 -
   2 files changed, 10 insertions(+), 28 deletions(-)

Added: sandbox/variadic_macro_data/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/Jamfile.v2 2010-12-01 23:52:38 EST (Wed, 01 Dec 2010)
@@ -0,0 +1,14 @@
+#
+# Copyright 2010
+# Edward Diener
+#
+# This file is taken from the 'example' sandbox library
+#
+
+project variadic_macro_data
+ : requirements
+ <include>.
+ <include>$(BOOST_ROOT)
+ :
+ build-dir bin.v2
+ ;
\ No newline at end of file

Added: sandbox/variadic_macro_data/Jamroot.jam
==============================================================================
--- (empty file)
+++ sandbox/variadic_macro_data/Jamroot.jam 2010-12-01 23:52:38 EST (Wed, 01 Dec 2010)
@@ -0,0 +1,41 @@
+#
+# Copyright (c) 2010
+# Edward Diener
+#
+# This file is taken from the 'example' sandbox library
+#
+
+##
+## IMPORTANT NOTE: This file MUST NOT be copied over a boost installation
+##
+
+path-constant top : . ;
+
+import modules ;
+import path ;
+
+local boost-root = [ modules.peek : BOOST_ROOT ] ;
+
+if ! $(boost-root)
+{
+ local boost-search-dirs = [ modules.peek : BOOST_BUILD_PATH ] ;
+
+ for local dir in $(boost-search-dirs)
+ {
+ if [ path.glob $(dir)/../../../ : boost/version.hpp ]
+ {
+ boost-root += $(dir)/../../../ ;
+ }
+ }
+
+ if $(boost-root)
+ {
+ boost-root = [ path.make $(boost-root[1]) ] ;
+ }
+ else
+ {
+ ECHO "Warning: couldn't find BOOST_ROOT in" $(boost-root) ;
+ }
+}
+
+path-constant BOOST_ROOT : $(boost-root) ;
\ No newline at end of file

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/doc/jamfile.v2
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/doc/jamfile.v2 (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/doc/jamfile.v2 2010-12-01 23:52:38 EST (Wed, 01 Dec 2010)
@@ -4,19 +4,11 @@
 # Edward Diener
 #
 
-project variadic_macro_data ;
+project variadic_macro_data_doc ;
 
 using quickbook ;
 using doxygen ;
 
-import modules ;
-import path ;
-import os ;
-
-local BOOST_ROOT = ../../../ ;
-path-constant local-boost-root : $(BOOST_ROOT) ;
-path-constant nav-images : $(local-boost-root)/doc/src/images/ ; # png and svg images for home, next, note, tip...
-path-constant images_location : html/images/ ; # location of SVG images referenced by Quickbook.
 path-constant here : . ; # convenient to refer to files in the same directory as this jamfile.v2
 
 doxygen VariadicMacroDataReference
@@ -44,25 +36,16 @@
      VariadicMacroData
   :
   <xsl:param>boost.root="../../../.."
-# <xsl:param>table.footnote.number.format=1 # Identifies the format used for footnote numbers in tables.
-# <xsl:param>footnote.number.format=1 # Identifies the format used for text footnote numbers.
-# <xsl:param>nav.layout=horizontal # to get a horizontal navigation bar (you probably DO want this).
-# <xsl:param>navig.graphics=1 # Use graphics not text for navigation.
   <xsl:param>chunk.section.depth=8 # How far down we chunk nested sections, basically all of them.
-# <xsl:param>chunk.first.sections=1 # Don't put the first section on the same page as the TOC.
   <xsl:param>toc.section.depth=8 # How far down sections get TOCs.
   <xsl:param>toc.max.depth=4 # Max depth in each TOC.
-# <xsl:param>generate.section.toc.level=10 # How far down we go with TOCs.
-# <xsl:param>fop1.extensions=0 # DISable extensions for FOP version 0.90 and later .
-# <format>pdf:<xsl:param>fop.extensions=0 # DISable extensions for FOP version 0.20.5 and earlier.
-# <format>pdf:<xsl:param>xep.extensions=1 # Use XEP extension- PDF bookmarks, document information and better index processing.
-# <format>pdf:<xsl:param>body.start.indent=0pt
-# <format>pdf:<xsl:param>paper.type=A4 # Paper type = A4
-# <xsl:param>admon.graphics=1
-# <format>pdf:<xsl:param>admon.graphics.extension=".svg"
-# <format>pdf:<xsl:param>use.role.for.mediaobject=1 # Use print role on next line.
-# <format>pdf:<xsl:param>preferred.mediaobject.role=print # pdf role is to be printed.
-# <format>pdf:<xsl:param>img.src.path=$(images_location)/ # Path of image (.svg) files. (Note trailing /) ? //
-# <format>pdf:<xsl:param>admon.graphics.path=$(nav-images)/ # path to admonition (warning, smiley...) image (.svg) files.
-# <format>pdf:<xsl:param>draft.mode="no"
+ <dependency>css
+ <dependency>images
   ;
+
+install css : [ glob $(BOOST_ROOT)/doc/src/*.css ]
+ : <location>html ;
+install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ]
+ : <location>html/images ;
+explicit css ;
+explicit images ;

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/Jamfile.v2
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/Jamfile.v2 (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/Jamfile.v2 2010-12-01 23:52:38 EST (Wed, 01 Dec 2010)
@@ -13,7 +13,6 @@
                                                  <toolset>gcc-4.5.0:<cxxflags>-Wno-variadic-macros
                                                  <toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
                                                  <toolset>msvc:<warnings>all
- <include>../../..
                                                  ;
 
 test-suite variadic_macro_data


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk