2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 00:12:11 +00:00

More detailedoad sequence.mo

[SVN r13398]
This commit is contained in:
Rene Rivera
2002-04-07 17:36:14 +00:00
parent f6eb3894a2
commit d6f0e1c29c

View File

@@ -3,16 +3,40 @@
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
# Bootstrap the module system
# Bootstrap the doc system. doing this first makes it possible to document
# in all the modules. And import the basic doc rules, to make them easily
# available.
#
SEARCH on <module@>doc.jam = $(BOOST_BUILD_PATH) ;
module doc { include <module@>doc.jam ; }
IMPORT doc
: document-module document-rule document-variable :
: document-module document-rule document-variable ;
# Bootstrap the module system. And bring the import rule into the global module.
#
SEARCH on <module@>modules.jam = $(BOOST_BUILD_PATH) ;
module modules { include <module@>modules.jam ; }
# Bring the import rule into the global module
IMPORT modules : import : : import ;
import modules ; # The modules module can tolerate being included twice
# Load the doc system.
import doc : document-module document-rule document-variable ;
# Re-load the doc system, to clean up things. Both doc and modules
# can handle getting included twice.
#
import doc ;
# Reload the modules, to clean up things. The modules module can tolerate
# being included twice.
#
import modules ;
# Check to see if the user is asking for help as soon as possible.
# This is first action, so that we can interrupt the regular build
# process if they are asking for help.
#
doc.do-help ;
import build-system ;
doc.do-help ;
# Load the first Jamfile, and build it.
#
build-system.construct [ build-system.load-jamfile [ PWD ] ] ;