1#============================================================================== 2# Copyright (c) 2015 Rene Rivera 3# 4# Use, modification and distribution is subject to the Boost Software 5# License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6# http://www.boost.org/LICENSE_1_0.txt) 7#============================================================================== 8 9import quickbook ; 10import modules ; 11import boostcpp ; 12import path ; 13import option ; 14 15local DIST_DIR = [ option.get distdir ] ; 16DIST_DIR ?= [ option.get build-dir ] ; 17DIST_DIR ?= [ path.join $(BOOST_ROOT) dist ] ; 18DIST_DIR = [ path.root [ path.make $(DIST_DIR) ] [ path.pwd ] ] ; 19local DIST_BIN = [ path.join $(DIST_DIR) bin ] ; 20 21exe auto_index : 22 ../src/auto_index.cpp 23 ../src/file_scanning.cpp 24 ../src/index_generator.cpp 25 ../src/tiny_xml.cpp 26 /boost//regex 27 /boost//filesystem 28 /boost//system 29 /boost//program_options 30: <define>BOOST_ALL_NO_LIB=1 <link>static release ; 31 32install aii : auto_index : <location>. ; 33explicit aii ; 34 35install i : auto_index : <location>$(DIST_BIN) ; 36