]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/Jamroot.jam
update sources to v12.2.3
[ceph.git] / ceph / src / boost / tools / build / Jamroot.jam
1
2 path-constant SELF : . ;
3
4 import path ;
5 import package ;
6 import os ;
7
8 local ext = "" ;
9 if [ os.on-windows ] || [ os.on-vms ]
10 {
11 ext = ".exe" ;
12 }
13
14 package.install boost-build-engine boost-build
15 : # properties
16 : # binaries
17 b2$(ext) bjam$(ext)
18 ;
19
20 local e1 = [ path.glob-tree $(SELF)/example : * : . .svn ] ;
21 local e2 ;
22 for e in $(e1)
23 {
24 e = [ path.native $(e) ] ;
25 if [ CHECK_IF_FILE $(e) ]
26 {
27 e2 += $(e) ;
28 }
29 }
30
31 package.install-data boost-build-core
32 : # Which subdir of $prefix/share
33 boost-build
34 : # What to install
35 $(SELF)/boost-build.jam
36 $(SELF)/src/build-system.jam
37 [ path.glob-tree $(SELF)/src/build : *.jam *.py ]
38 [ path.glob-tree $(SELF)/src/contrib : *.jam *.py ]
39 [ path.glob-tree $(SELF)/src/kernel : *.jam *.py ]
40 [ path.glob-tree $(SELF)/src/options : *.jam *.py ]
41 [ path.glob-tree $(SELF)/src/util : *.jam *.py ]
42 [ path.glob-tree $(SELF)/src/tools : *.jam *.py *.xml *.xsl *.doxyfile *.hpp ]
43 $(e2)
44 : # What is the root of the directory
45 <install-source-root>.
46 ;
47
48 alias install : boost-build-engine boost-build-core ;