]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/Jamroot.jam
Add patch for failing prerm scripts
[ceph.git] / ceph / src / boost / tools / build / Jamroot.jam
CommitLineData
7c673cae
FG
1
2path-constant SELF : . ;
3
4import path ;
5import package ;
6import os ;
7
8local ext = "" ;
9if [ os.on-windows ] || [ os.on-vms ]
10{
11 ext = ".exe" ;
12}
13
14package.install boost-build-engine boost-build
15 : # properties
16 : # binaries
17 b2$(ext) bjam$(ext)
18 ;
19
20local e1 = [ path.glob-tree $(SELF)/example : * : . .svn ] ;
21local e2 ;
22for e in $(e1)
23{
24 e = [ path.native $(e) ] ;
25 if [ CHECK_IF_FILE $(e) ]
26 {
27 e2 += $(e) ;
28 }
29}
30
31package.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 ]
b32b8144 38 [ path.glob-tree $(SELF)/src/contrib : *.jam *.py ]
7c673cae 39 [ path.glob-tree $(SELF)/src/kernel : *.jam *.py ]
b32b8144 40 [ path.glob-tree $(SELF)/src/options : *.jam *.py ]
7c673cae
FG
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
48alias install : boost-build-engine boost-build-core ;