diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/boost/tools/quickbook/examples | |
parent | Initial commit. (diff) | |
download | ceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/quickbook/examples')
7 files changed, 128 insertions, 0 deletions
diff --git a/src/boost/tools/quickbook/examples/simple-boostbook/Jamfile.v2 b/src/boost/tools/quickbook/examples/simple-boostbook/Jamfile.v2 new file mode 100644 index 000000000..4b511c112 --- /dev/null +++ b/src/boost/tools/quickbook/examples/simple-boostbook/Jamfile.v2 @@ -0,0 +1,10 @@ + +# Copyright 2013-2018 Daniel James. +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +using boostbook ; + +boostbook simple : simple.xml : + <xsl:param>boost.root=../../../../.. + ; diff --git a/src/boost/tools/quickbook/examples/simple-boostbook/simple.xml b/src/boost/tools/quickbook/examples/simple-boostbook/simple.xml new file mode 100644 index 000000000..6064d5d1e --- /dev/null +++ b/src/boost/tools/quickbook/examples/simple-boostbook/simple.xml @@ -0,0 +1,13 @@ +<!-- +Copyright Daniel James 2013-2018 +Distributed under the Boost Software License, Version 1.0. (See accompanying +file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +--> + +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" + "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"> +<article> + <title>Simple Example</title> + <para>Interesting stuff goes here.</para> +</article> diff --git a/src/boost/tools/quickbook/examples/simple-quickbook/Jamfile.v2 b/src/boost/tools/quickbook/examples/simple-quickbook/Jamfile.v2 new file mode 100644 index 000000000..8af6ba878 --- /dev/null +++ b/src/boost/tools/quickbook/examples/simple-quickbook/Jamfile.v2 @@ -0,0 +1,13 @@ + +# Copyright 2013-2018 Daniel James. +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +using boostbook ; +using quickbook ; + +xml simple-boostbook : simple.qbk ; + +boostbook simple : simple-boostbook : + <xsl:param>boost.root=../../../../.. + ; diff --git a/src/boost/tools/quickbook/examples/simple-quickbook/simple.qbk b/src/boost/tools/quickbook/examples/simple-quickbook/simple.qbk new file mode 100644 index 000000000..df93471a2 --- /dev/null +++ b/src/boost/tools/quickbook/examples/simple-quickbook/simple.qbk @@ -0,0 +1,13 @@ +[/ + Copyright 2013-2018 Daniel James + + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +] + +[article Simple Example + [quickbook 1.6] +] + +Interesting stuff goes here. diff --git a/src/boost/tools/quickbook/examples/standalone-quickbook/Jamfile.v2 b/src/boost/tools/quickbook/examples/standalone-quickbook/Jamfile.v2 new file mode 100644 index 000000000..28b20b43f --- /dev/null +++ b/src/boost/tools/quickbook/examples/standalone-quickbook/Jamfile.v2 @@ -0,0 +1,21 @@ + +# Copyright 2013-2018 Daniel James. +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +using boostbook ; +using quickbook ; + +xml simple-boostbook : simple.qbk ; + +boostbook simple : simple-boostbook : + <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 ; diff --git a/src/boost/tools/quickbook/examples/standalone-quickbook/Jamroot.jam b/src/boost/tools/quickbook/examples/standalone-quickbook/Jamroot.jam new file mode 100644 index 000000000..055b03e52 --- /dev/null +++ b/src/boost/tools/quickbook/examples/standalone-quickbook/Jamroot.jam @@ -0,0 +1,45 @@ +# +# Copyright (c) 2006 João Abecasis +# +# Distributed under the Boost Software License, Version 1.0. (See +# accompanying file LICENSE_1_0.txt or copy at +# http://www.boost.org/LICENSE_1_0.txt) +# + +## +## 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) ; +modules.poke : QUICKBOOK_ROOT : $(top) ; + +use-project /boost : $(BOOST_ROOT) ; diff --git a/src/boost/tools/quickbook/examples/standalone-quickbook/simple.qbk b/src/boost/tools/quickbook/examples/standalone-quickbook/simple.qbk new file mode 100644 index 000000000..df93471a2 --- /dev/null +++ b/src/boost/tools/quickbook/examples/standalone-quickbook/simple.qbk @@ -0,0 +1,13 @@ +[/ + Copyright 2013-2018 Daniel James + + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +] + +[article Simple Example + [quickbook 1.6] +] + +Interesting stuff goes here. |