1# Copyright (c) 2002-2006 CrystalClear Software, Inc.
2# Use, modification and distribution is subject to the
3# Boost Software License, Version 1.0. (See accompanying
4# file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
5#
6
7import boostbook : boostbook ;
8import toolset ;
9import set ;
10toolset.using doxygen ;
11
12boostbook date_time : date_time.xml
13	:
14        <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/doc/html
15        <dependency>date_time_autodoc
16        <dependency>gregorian_autodoc
17        <dependency>posix_time_autodoc
18        <dependency>local_time_autodoc
19        <xsl:param>boost.root=../../../..
20	;
21
22# boostbook date_time_doc : exclusive_date_time.xml ;
23
24# file lists take the form of [ set.difference [ glob include/these ] : [ glob but/not/these ] ]
25
26local date_time_files = [ glob ../../../boost/date_time/*.hpp ] ;
27
28# local date_time_files = [ set.difference
29# 	[ glob ../../../boost/date_time/*.hpp ] :
30# 	[ glob ../../../boost/date_time/testfrmwk.hpp
31# 	#	../../../boost/date_time/time_zone_base.hpp
32# 	#	../../../boost/date_time/time_zone_names.hpp
33# 	#	../../../boost/date_time/tz_db_base.hpp
34# 	#	../../../boost/date_time/dst_transition_generators.hpp
35# 	]
36# 	] ;
37
38local gregorian_files = [ set.difference
39	[ glob ../../../boost/date_time/gregorian/*.hpp ] :
40	[ glob ../../../boost/date_time/gregorian/event_schedule.hpp ]
41	] ;
42
43#ECHO $(date_time_files) ; # useful for debugging
44
45# to build the autodoc files, run bjam --v2 autodoc_target. copy generated
46# file from bin.v2 dir to here. run ref_tag_fix.pl.
47
48doxygen date_time_autodoc :
49	$(date_time_files) :
50        <doxygen:param>ENABLE_PREPROCESSING=NO
51        <xsl:param>boost.doxygen.reftitle="Date Time Reference"
52        <doxygen.doxproc.title>"Date Time Reference"
53        <doxygen.doxproc.id>"date_time_reference"
54	;
55
56doxygen gregorian_autodoc :
57	$(gregorian_files) :
58        <doxygen:param>ENABLE_PREPROCESSING=NO
59        <xsl:param>boost.doxygen.reftitle="Gregorian Reference"
60        <doxygen.doxproc.title>"Gregorian Reference"
61        <doxygen.doxproc.id>"gregorian_reference"
62	;
63
64doxygen posix_time_autodoc :
65	[ glob ../../../boost/date_time/posix_time/*.hpp ] :
66        <doxygen:param>ENABLE_PREPROCESSING=NO
67        <xsl:param>boost.doxygen.reftitle="Posix Time Reference"
68        <doxygen.doxproc.title>"Posix Time Reference"
69        <doxygen.doxproc.id>"posix_time_reference"
70	;
71
72doxygen local_time_autodoc :
73        [ glob ../../../boost/date_time/local_time/*.hpp ] :
74        <doxygen:param>ENABLE_PREPROCESSING=NO
75        <xsl:param>boost.doxygen.reftitle="Local Time Reference"
76        <doxygen.doxproc.title>"Local Time Reference"
77        <doxygen.doxproc.id>"local_time_reference"
78        ;
79
80
81# Copyright (c) 2004
82# CrystalClear Software, Inc.
83#
84# Permission to use, copy, modify, distribute and sell this software
85# and its documentation for any purpose is hereby granted without fee,
86# provided that the above copyright notice appear in all copies and
87# that both that copyright notice and this permission notice appear
88# in supporting documentation.  CrystalClear Software makes no
89# representations about the suitability of this software for any
90# purpose.  It is provided "as is" without express or implied warranty.
91