mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
# (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and
|
|
# distribute this software is granted provided this copyright notice appears in
|
|
# 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 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 ; }
|
|
IMPORT modules : import : : import ;
|
|
|
|
# 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 ;
|
|
|
|
# Load the first Jamfile, and build it.
|
|
#
|
|
build-system.construct [ build-system.load-jamfile [ PWD ] ] ;
|