-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathbuild.jam
More file actions
28 lines (22 loc) · 797 Bytes
/
Copy pathbuild.jam
File metadata and controls
28 lines (22 loc) · 797 Bytes
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
# Copyright René Ferdinand Rivera Morell 2024
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
require-b2 5.2 ;
import option ;
import path ;
local DIST_DIR = [ option.get distdir ] ;
DIST_DIR ?= [ option.get build-dir ] ;
DIST_DIR ?= [ path.join $(BOOST_ROOT) dist ] ;
DIST_DIR ?= dist ;
DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ;
project /boost/boostbook ;
explicit
[ install dist-share
: [ glob-tree-ex dtd xsl : *.dtd *.xml *.xsl LICENSE ]
: <location>$(DIST_DIR)/share <install-source-root>. ]
[ alias boostbook ]
[ alias all : boostbook dist-share ]
;
# Install distribution files/execs by default.
alias dist : dist-share ;