Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NumPy support to the BB-based build logic.
- Loading branch information
1 parent
dc8d68d
commit 84c9644
Showing
9 changed files
with
73 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,14 @@ | |
# 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) | ||
|
||
import boostbook ; | ||
import quickbook ; | ||
import docutils ; | ||
import os ; | ||
|
||
path-constant here : . ; | ||
path-constant images : html/images ; | ||
|
||
|
||
project python/doc | ||
: requirements | ||
-<xsl:param>boost.defaults=Boost | ||
|
@@ -17,9 +21,16 @@ project python/doc | |
<format>html:<xsl:param>chunk.section.depth=1 | ||
; | ||
|
||
import boostbook ; | ||
import quickbook ; | ||
import docutils ; | ||
make numpy : numpy/index.rst : @sphinx-build ; | ||
|
||
if [ os.name ] = NT | ||
{ | ||
actions sphinx-build { chdir numpy && make clean && make html} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
grafikrobot
Member
|
||
} | ||
else | ||
{ | ||
actions sphinx-build { make -C numpy clean html} | ||
} | ||
|
||
boostbook python : python.qbk | ||
: <format>html:<name>$(here)/html | ||
|
@@ -51,5 +62,5 @@ html article : article.rst | |
############################################################################### | ||
alias boostdoc ; | ||
explicit boostdoc ; | ||
alias boostrelease : python tutorial reference article ; | ||
alias boostrelease : python tutorial reference numpy article ; | ||
explicit boostrelease ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are assuming the CWD is root/libs/python/doc. It isn't when building the general docs. Which is why in my example I had a more complicated action. Try running: cd boost-root ; b2 libs/python/doc to replicate. Same applies to the non-NT case below.