Skip to content

Commit

Permalink
Revert "Add/update b2 build for docs and tests."
Browse files Browse the repository at this point in the history
This reverts commit d34cc34.
  • Loading branch information
tzlaine committed Mar 25, 2024
1 parent c31e817 commit 9282349
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 78 deletions.
46 changes: 16 additions & 30 deletions doc/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,20 @@ import path ;
import doxygen ;
import quickbook ;

using auto-index ;
using doxygen ;
using quickbook ;
using boostbook ;

path-constant here : . ;

rule run_doxygen ( files * : name : expand ? )
{

expand ?= <doxygen:param>EXPAND_ONLY_PREDEF=YES ;

doxygen parser_reference
:
$(files)
:
doxygen parser_reference
:
$(files)
:
<doxygen:param>EXTRACT_ALL=YES
# note that there is no detail::unspecified -- this is a hack to get all
# the SFINAE code out of the API docs.
Expand All @@ -35,23 +34,15 @@ rule run_doxygen ( files * : name : expand ? )
<doxygen:param>SEARCH_INCLUDES=NO
<doxygen:param>EXAMPLE_PATH=.
<reftitle>$(name)
;
;

}

run_doxygen [ glob $(here)/../../../boost/parser/*.hpp : $(here)/../../../boost/parser/concepts.hpp ] : "Headers" ;

install images_standalone : [ glob *.png ] : <location>html/parser/img ;
explicit images_standalone ;

install images_boostdoc : [ glob *.png ] : <location>../../../doc/html/parser/img ;
explicit images_boostdoc ;
run_doxygen [ glob ../include/boost/parser/*.hpp : ../include/boost/parser/concepts.hpp ] : "Reference" ;

xml parser
:
parser.qbk
:
<dependency>parser_reference
;

boostbook standalone
Expand All @@ -61,6 +52,8 @@ boostbook standalone
<dependency>css
<dependency>images

<dependency>parser_reference

# HTML options first:
# Use graphics not text for navigation:
<xsl:param>navig.graphics=1
Expand Down Expand Up @@ -98,25 +91,18 @@ boostbook standalone
# better use SVG's instead:
# <xsl:param>admon.graphics.extension=".svg"

# <auto-index>on
# <auto-index-verbose>on
# <auto-index-internal>on
# <auto-index-script>parser.idx
# <quickbook-define>enable_index
# <auto-index-prefix>..
# <xsl:param>index.on.type=1

<dependency>images_standalone
<auto-index>on
<auto-index-verbose>on
<auto-index-internal>on
<auto-index-script>parser.idx
<quickbook-define>enable_index
<auto-index-prefix>..
<xsl:param>index.on.type=1
;

install css : [ glob $(BOOST_ROOT)/doc/src/*.css ]
: <location>html ;
install images : [ glob $(BOOST_ROOT)/doc/src/images/*.png ]
: <location>html/images ;

alias boostdoc : parser : : : <dependency>images_boostdoc ;
explicit boostdoc ;
alias boostrelease ;
explicit boostrelease ;
explicit css ;
explicit images ;
45 changes: 45 additions & 0 deletions doc/Jamroot.jam
Original file line number Diff line number Diff line change
@@ -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) ;
48 changes: 0 additions & 48 deletions test/Jamfile.v2

This file was deleted.

0 comments on commit 9282349

Please sign in to comment.