• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# Copyright 2009 Daniel James.
3# Distributed under the Boost Software License, Version 1.0. (See accompanying
4# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6using boostbook ;
7using doxygen ;
8import os ;
9
10doxygen autodoc
11    :
12        [ glob boost/*.hpp ]
13    :
14        <xsl:param>"boost.doxygen.reftitle=Example Reference"
15    ;
16
17if [ os.name ] = NT
18{
19    actions compare
20    {
21        comp /A $(>[1]) $(>[2]) && echo "Stamped" >$(<)
22    }
23
24}
25else
26{
27    actions compare
28    {
29        diff -u -w $(>[1]) $(>[2]) && echo "Stamped" >$(<)
30    }
31}
32
33make check : autodoc.xml autodoc.gold : @compare ;
34
35boostbook standalone
36    :
37        example.xml
38    :
39        <xsl:param>boost.root=../../../../..
40        <dependency>autodoc
41    ;
42