]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/hana/doc/Jamfile.v2
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / hana / doc / Jamfile.v2
CommitLineData
7c673cae
FG
1# Copyright Louis Dionne 2013-2016
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
4
5import os ;
6
7if [ os.environ TRAVIS ] {
8 path-constant HANA_SOURCE_DIR : .. ;
9} else {
10 path-constant HANA_SOURCE_DIR : $(BOOST_ROOT)/libs/hana ;
11}
12
13make hana-doc : : @make-hana-doc ;
14
15actions make-hana-doc {
16 cd $(HANA_SOURCE_DIR)
17 master_ref=$(git show-ref --hash=7 heads/master)
18
19 git clone https://github.com/boostorg/hana doc/html
20 cd doc/html
21 git checkout gh-pages
22 gh_pages_ref=$(git log --branches=gh-pages -n 1 --grep=${master_ref} --format="format:%H")
23 git checkout ${gh_pages_ref}
24}
25
26# Since Hana does not use BoostBook, it does not integrate into the global
27# book containing the documentation of all Boost libraries. Per [1], we need
28# to define this empty target to accommodate the build scripts.
29#
30# [1]: http://www.boost.org/development/requirements.html#Requirements
31alias boostdoc ;
32explicit boostdoc ;
33alias boostrelease ;
34explicit boostrelease ;