/usr/share/boost-build/src/tools
NameSizeModeActions
doxygen/-0755rm
features/-0755rm
generators/-0755rm
types/-0755rm
xsltproc/-0755rm
acc.jam48000644editdlrm
asciidoctor.jam64800644editdlrm
auto-index.jam83240644editdlrm
bison.jam5890644editdlrm
boostbook-config.jam3890644editdlrm
boostbook.jam240560644editdlrm
borland.jam99920644editdlrm
builtin.jam30370644editdlrm
bzip2.jam80660644editdlrm
cast.jam32370644editdlrm
clang-darwin.jam67130644editdlrm
clang-linux.jam99840644editdlrm
clang-vxworks.jam40260644editdlrm
clang-win.jam60940644editdlrm
clang.jam23100644editdlrm
common.jam316790644editdlrm
como-linux.jam35280644editdlrm
como-win.jam42370644editdlrm
como.jam20630644editdlrm
convert.jam19870644editdlrm
cray.jam411280644editdlrm
cw-config.jam12830644editdlrm
cw.jam95490644editdlrm
cygwin.jam4030644editdlrm
darwin.jam221650644editdlrm
diab.jam43070644editdlrm
dmc.jam60940644editdlrm
docutils.jam34440644editdlrm
doxproc.py366210644editdlrm
doxygen-config.jam3880644editdlrm
doxygen.jam247450644editdlrm
embarcadero.jam214870644editdlrm
emscripten.jam37790644editdlrm
flags.jam45700644editdlrm
fop.jam16930644editdlrm
fortran.jam19890644editdlrm
gcc.jam552880644editdlrm
generate.jam33390644editdlrm
gettext.jam76630644editdlrm
gfortran.jam10080644editdlrm
hpfortran.jam9020644editdlrm
hp_cxx.jam80890644editdlrm
ifort.jam14950644editdlrm
intel-darwin.jam97850644editdlrm
intel-linux.jam91930644editdlrm
intel-vxworks.jam70850644editdlrm
intel-win.jam163960644editdlrm
intel.jam26260644editdlrm
lex.jam5590644editdlrm
libjpeg.jam73620644editdlrm
libpng.jam71040644editdlrm
libtiff.jam72080644editdlrm
link.jam150210644editdlrm
lzma.jam32770644editdlrm
make.jam22660644editdlrm
mc.jam13110644editdlrm
message.jam16670644editdlrm
midl.jam53670644editdlrm
mipspro.jam52910644editdlrm
mpi.jam218260644editdlrm
msvc-config.jam3930644editdlrm
msvc.jam846720644editdlrm
notfile.jam16540644editdlrm
openssl.jam36130644editdlrm
package.jam92810644editdlrm
pathscale.jam66290644editdlrm
pch.jam27190644editdlrm
pgi.jam48790644editdlrm
pkg-config.jam134430644editdlrm
python-config.jam8360644editdlrm
python.jam436790644editdlrm
qcc.jam108360644editdlrm
qt.jam5300644editdlrm
qt3.jam68100644editdlrm
qt4.jam239740644editdlrm
qt5.jam265170644editdlrm
quickbook-config.jam12660644editdlrm
quickbook.jam132770644editdlrm
rc.jam53640644editdlrm
sass.jam57020644editdlrm
saxonhe.jam13290644editdlrm
stage.jam285130644editdlrm
stlport.jam118800644editdlrm
sun.jam80540644editdlrm
symlink.jam43510644editdlrm
testing-aux.jam102380644editdlrm
testing.jam278890644editdlrm
unix.jam58470644editdlrm
vacpp.jam57250644editdlrm
vmsdecc.jam201850644editdlrm
whale.jam32530644editdlrm
xlcpp.jam61210644editdlrm
xlf.jam9000644editdlrm
xsltproc-config.jam8380644editdlrm
xsltproc.jam56030644editdlrm
zlib.jam69760644editdlrm
zstd.jam24460644editdlrm
Edit: /usr/share/boost-build/src/tools/auto-index.jam (8324B)
import feature ; import generators ; import "class" ; import toolset ; import targets ; import "class" : new ; import project ; feature.feature auto-index : off "on" ; feature.feature auto-index-internal : off "on" ; feature.feature auto-index-verbose : off "on" ; feature.feature auto-index-no-duplicates : off "on" ; feature.feature auto-index-script : : free path ; feature.feature auto-index-prefix : : free path ; feature.feature auto-index-type : : free ; feature.feature auto-index-section-names : "on" off ; toolset.flags auto-index.auto-index FLAGS on : --internal-index ; toolset.flags auto-index.auto-index SCRIPT ; toolset.flags auto-index.auto-index PREFIX ; toolset.flags auto-index.auto-index INDEX_TYPE ; toolset.flags auto-index.auto-index FLAGS on : --verbose ; toolset.flags auto-index.auto-index FLAGS on : --no-duplicates ; toolset.flags auto-index.auto-index FLAGS off : --no-section-names ; # shell command to run AutoIndex # targets to build AutoIndex from sources. feature.feature : : free ; feature.feature : : free dependency ; class auto-index-generator : generator { import common modules path targets build-system ; rule run ( project name ? : property-set : sources * ) { # AutoIndex invocation command and dependencies. local auto-index-binary = [ modules.peek auto-index : .command ] ; local auto-index-binary-dependencies ; if $(auto-index-binary) { # Use user-supplied command. auto-index-binary = [ common.get-invocation-command auto-index : auto-index : $(auto-index-binary) ] ; } else { # Search for AutoIndex sources in sensible places, like # $(BOOST_ROOT)/tools/auto_index # $(BOOST_BUILD_PATH)/../../auto_index # And build auto-index executable from sources. local boost-root = [ modules.peek : BOOST_ROOT ] ; local boost-build-path = [ build-system.location ] ; local boost-build-path2 = [ modules.peek : BOOST_BUILD_PATH ] ; local auto-index-dir ; if $(boost-root) { auto-index-dir += [ path.join $(boost-root) tools ] ; } if $(boost-build-path) { auto-index-dir += $(boost-build-path)/../.. ; } if $(boost-build-path2) { auto-index-dir += $(boost-build-path2)/.. ; } #ECHO $(auto-index-dir) ; auto-index-dir = [ path.glob $(auto-index-dir) : auto_index ] ; #ECHO $(auto-index-dir) ; # If the AutoIndex source directory was found, mark its main target # as a dependency for the current project. Otherwise, try to find # 'auto-index' in user's PATH if $(auto-index-dir) { auto-index-dir = [ path.make $(auto-index-dir[1]) ] ; auto-index-dir = $(auto-index-dir)/build ; #ECHO $(auto-index-dir) ; # Get the main-target in AutoIndex directory. local auto-index-main-target = [ targets.resolve-reference $(auto-index-dir) : $(project) ] ; #ECHO $(auto-index-main-target) ; # The first element are actual targets, the second are # properties found in target-id. We do not care about these # since we have passed the id ourselves. auto-index-main-target = [ $(auto-index-main-target[1]).main-target auto_index ] ; #ECHO $(auto-index-main-target) ; auto-index-binary-dependencies = [ $(auto-index-main-target).generate [ $(property-set).propagated ] ] ; # Ignore usage-requirements returned as first element. auto-index-binary-dependencies = $(auto-index-binary-dependencies[2-]) ; # Some toolsets generate extra targets (e.g. RSP). We must mark # all targets as dependencies for the project, but we will only # use the EXE target for auto-index-to-boostbook translation. for local target in $(auto-index-binary-dependencies) { if [ $(target).type ] = EXE { auto-index-binary = [ path.native [ path.join [ $(target).path ] [ $(target).name ] ] ] ; } } } else { ECHO "AutoIndex warning: The path to the auto-index executable was" ; ECHO " not provided. Additionally, couldn't find AutoIndex" ; ECHO " sources searching in" ; ECHO " * BOOST_ROOT/tools/auto-index" ; ECHO " * BOOST_BUILD_PATH/../../auto-index" ; ECHO " Will now try to find a precompiled executable by searching" ; ECHO " the PATH for 'auto-index'." ; ECHO " To disable this warning in the future, or to completely" ; ECHO " avoid compilation of auto-index, you can explicitly set the" ; ECHO " path to a auto-index executable command in user-config.jam" ; ECHO " or site-config.jam with the call" ; ECHO " using auto-index : /path/to/auto-index ;" ; # As a last resort, search for 'auto-index' command in path. Note # that even if the 'auto-index' command is not found, # get-invocation-command will still return 'auto-index' and might # generate an error while generating the virtual-target. auto-index-binary = [ common.get-invocation-command auto-index : auto-index ] ; } } # Add $(auto-index-binary-dependencies) as a dependency of the current # project and set it as the feature for the # auto-index-to-boostbook rule, below. property-set = [ $(property-set).add-raw $(auto-index-binary-dependencies) $(auto-index-binary) $(auto-index-binary-dependencies) ] ; #ECHO "binary = " $(auto-index-binary) ; #ECHO "dependencies = " $(auto-index-binary-dependencies) ; return [ generator.run $(project) $(name) : $(property-set) : $(sources) ] ; } } # Initialization of toolset. # # Parameters: # command ? -> path to AutoIndex executable. # # When command is not supplied toolset will search for AutoIndex directory and # compile the executable from source. If that fails we still search the path for # 'auto_index'. # rule init ( command ? # path to the AutoIndex executable. ) { if ! $(.initialized) { .initialized = true ; .command = $(command) ; } } toolset.flags auto-index.auto-index AI-COMMAND ; toolset.flags auto-index.auto-index AI-DEPENDENCIES ; generators.register [ class.new auto-index-generator auto-index.auto-index : DOCBOOK : DOCBOOK(%.auto_index) : on ] ; generators.override auto-index.auto-index : boostbook.boostbook-to-docbook ; rule auto-index ( target : source : properties * ) { # Signal dependency of auto-index sources on # upon invocation of auto-index-to-boostbook. #ECHO "AI-COMMAND= " $(AI-COMMAND) ; DEPENDS $(target) : [ on $(target) return $(AI-DEPENDENCIES) ] ; #DEPENDS $(target) : [ on $(target) return $(SCRIPT) ] ; } actions auto-index { $(AI-COMMAND) $(FLAGS) "--prefix="$(PREFIX) "--script="$(SCRIPT) "--index-type="$(INDEX_TYPE) "--in="$(>) "--out="$(<) }