-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.jam
67 lines (48 loc) · 2.27 KB
/
start.jam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#*****************************************************************************#
# File : start.jam #
# Author : Alain Achkar #
# Summary: bootstrap jamfile #
#*****************************************************************************#
# #
# Descr : Everything starts from here. #
# #
#*****************************************************************************#
#=============================================================================#
# *** G L O B A L V A R I A B L E S *** #
#=============================================================================#
#=============================================================================#
# *** P S E U D O - T A R G E T S *** #
#=============================================================================#
#=============================================================================#
# *** R U L E & A C T I O N S D E F I N I T I O N S *** #
#=============================================================================#
rule steps_include
{
local .steps-file = [ find-to-root [ PWD ] : steps.jam ] ;
if ! $(.steps-file)
{
echo "Unable to find \"steps.jam\"" ;
echo "Attempted search from" [ PWD ] "up to the root." ;
exit ;
}
else
{
jamfile_include $(.steps-file) : $(.steps-file:P) ;
}
}
#=============================================================================#
# *** R U L E I N V O C A T I O N S *** #
#=============================================================================#
# Utilities
al_include common.jam ;
al_include debug.jam ;
# Step infrastructure
al_include step.jam ;
# Steps
al_include step_common.jam ;
#al_include steps.jam ;
steps_include ;
# Command-line args
al_include parse_args.jam ;
# Main
al_include main.jam ;