Subversion Repositories TruePreview

[/] [trunk/] [headerdoc.make] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 jhriggs
# Copyright (c) 2009, Jim Riggs, Christian Serving, L.L.C.
2
# All rights reserved.
3
#
4
# Redistribution and use in source and binary forms, with or without
5
# modification, are permitted provided that the following conditions are
6
# met:
7
#     * Redistributions of source code must retain the above copyright
8
#       notice, this list of conditions and the following disclaimer.
9
#     * Redistributions in binary form must reproduce the above
10
#       copyright notice, this list of conditions and the following
11
#       disclaimer in the documentation and/or other materials provided
12
#       with the distribution.
13
#     * Neither the name of Christian Serving, L.L.C. nor the names of
14
#       its contributors may be used to endorse or promote products
15
#       derived from this software without specific prior written
16
#       permission.
17
#
18
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 
30
##
31
# headerdoc.make
32
# Copyright (c) 2009 Jim Riggs, Christian Serving, L.L.C. All rights reserved.
33
#
34
# @(#) $Id: headerdoc.make 2 2009-06-27 07:02:45Z jhriggs $
35
##
36
 
37
SRC_DIR = $(PROJECT_DIR)/Source
38
HDR_DIR = $(PROJECT_DIR)/headerdoc
39
 
40
HEADERDOC = headerdoc2html -C -t -u -o $(HDR_DIR)
41
GATHERHEADERDOC = gatherheaderdoc $(HDR_DIR)
42
 
43
DOCS = $(patsubst $(SRC_DIR)/%.h,$(HDR_DIR)/%/index.html,$(wildcard $(SRC_DIR)/*.h))
44
 
45
$(HDR_DIR)/MasterTOC.html : $(DOCS)
46
  $(GATHERHEADERDOC)
47
 
48
$(DOCS) : $(HDR_DIR)/%/index.html : $(SRC_DIR)/%.h
49
  $(HEADERDOC) $?