~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to libs/signals2/doc/snippet-extractor.jam

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Boost.Signals2 Library
 
2
 
 
3
# Copyright Frank Mori Hess 2009.
 
4
 
 
5
# Use, modification and
 
6
# distribution is subject to the Boost Software License, Version
 
7
# 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 
8
# http://www.boost.org/LICENSE_1_0.txt)
 
9
 
 
10
# For more information, see http://www.boost.org
 
11
 
 
12
import feature ;
 
13
import toolset ;
 
14
 
 
15
feature.feature extractor-command : : free dependency ;
 
16
toolset.flags snippet-extractor.extract-snippets EXTRACTOR-COMMAND <extractor-command> ;
 
17
 
 
18
rule extract-snippets ( target : sources * : properties * )
 
19
{
 
20
    DEPENDS $(target) : [ on $(target) return $(EXTRACTOR-COMMAND) ] ;
 
21
}
 
22
actions extract-snippets bind EXTRACTOR-COMMAND
 
23
{
 
24
    $(EXTRACTOR-COMMAND[1]) "$(<:D)" $(>)
 
25
}