misc/libfreetype/Jamfile
author nemo
Fri, 23 Mar 2012 18:20:59 -0400
changeset 6810 5337f554480e
parent 5172 88f2e05288ba
permissions -rw-r--r--
This has bugged me for a while. Since we are missing the source SVGs for this theme, removed the leaves crudely in GIMP. Also added some basic roots. Someone more artistic is encouraged to try and improve it.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5172
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     1
# FreeType 2 top Jamfile.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     2
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     3
# Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     4
# David Turner, Robert Wilhelm, and Werner Lemberg.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     5
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     6
# This file is part of the FreeType project, and may only be used, modified,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     7
# and distributed under the terms of the FreeType project license,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     8
# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
     9
# indicate that you have read the license and understand and accept it
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    10
# fully.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    11
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    12
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    13
# The HDRMACRO is already defined in FTJam and is used to add
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    14
# the content of certain macros to the list of included header
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    15
# files.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    16
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    17
# We can compile FreeType 2 with classic Jam however thanks to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    18
# the following code
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    19
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    20
if ! $(JAM_TOOLSET)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    21
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    22
  rule HDRMACRO
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    23
  {
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    24
    # nothing
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    25
  }
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    26
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    27
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    28
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    29
# We need to invoke a SubDir rule if the FT2 source directory top is not the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    30
# current directory.  This allows us to build FreeType 2 as part of a larger
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    31
# project easily.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    32
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    33
if $(FT2_TOP) != $(DOT)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    34
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    35
  SubDir  FT2_TOP ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    36
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    37
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    38
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    39
# The following macros define the include directory, the source directory,
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    40
# and the final library name (without library extensions).  They can be
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    41
# replaced by other definitions when the library is compiled as part of
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    42
# a larger project.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    43
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    44
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    45
# Name of FreeType include directory during compilation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    46
# This is relative to FT2_TOP.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    47
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    48
FT2_INCLUDE_DIR ?= include ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    49
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    50
# Name of FreeType source directory during compilation.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    51
# This is relative to FT2_TOP.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    52
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    53
FT2_SRC_DIR ?= src ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    54
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    55
# Name of final library, without extension.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    56
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    57
FT2_LIB ?= $(LIBPREFIX)freetype ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    58
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    59
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    60
# Define FT2_BUILD_INCLUDE to point to your build-specific directory.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    61
# This is prepended to FT2_INCLUDE_DIR.  It can be used to specify
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    62
# the location of a custom <ft2build.h> which will point to custom
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    63
# versions of `ftmodule.h' and `ftoption.h', for example.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    64
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    65
FT2_BUILD_INCLUDE ?= ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    66
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    67
# The list of modules to compile on any given build of the library.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    68
# By default, this will contain _all_ modules defined in FT2_SRC_DIR.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    69
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    70
# IMPORTANT: You'll need to change the content of `ftmodule.h' as well
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    71
#            if you modify this list or provide your own.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    72
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    73
FT2_COMPONENTS ?= autofit    # auto-fitter
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    74
                  base       # base component (public APIs)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    75
                  bdf        # BDF font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    76
                  cache      # cache sub-system
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    77
                  cff        # CFF/CEF font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    78
                  cid        # PostScript CID-keyed font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    79
                  pcf        # PCF font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    80
                  bzip2      # support for bzip2-compressed PCF font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    81
                  gzip       # support for gzip-compressed PCF font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    82
                  lzw        # support for LZW-compressed PCF font
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    83
                  pfr        # PFR/TrueDoc font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    84
                  psaux      # common PostScript routines module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    85
                  pshinter   # PostScript hinter module
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    86
                  psnames    # PostScript names handling
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    87
                  raster     # monochrome rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    88
                  smooth     # anti-aliased rasterizer
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    89
                  sfnt       # SFNT-based format support routines
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    90
                  truetype   # TrueType font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    91
                  type1      # PostScript Type 1 font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    92
                  type42     # PostScript Type 42 (embedded TrueType) driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    93
                  winfonts   # Windows FON/FNT font driver
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    94
                  ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    95
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    96
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    97
# Don't touch.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    98
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
    99
FT2_INCLUDE  = $(FT2_BUILD_INCLUDE)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   100
               [ FT2_SubDir $(FT2_INCLUDE_DIR) ] ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   101
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   102
FT2_SRC      = [ FT2_SubDir $(FT2_SRC_DIR) ] ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   103
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   104
# Location of API Reference Documentation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   105
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   106
if $(DOC_DIR)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   107
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   108
  DOC_DIR = $(DOCDIR:T) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   109
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   110
else
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   111
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   112
  DOC_DIR = docs/reference ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   113
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   114
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   115
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   116
# Only used by FreeType developers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   117
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   118
if $(DEBUG_HINTER)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   119
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   120
  CCFLAGS += -DDEBUG_HINTER ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   121
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   122
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   123
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   124
# We need `freetype2/include' in the current include path in order to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   125
# compile any part of FreeType 2.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   126
#: updating documentation for upcoming release
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   127
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   128
HDRS += $(FT2_INCLUDE) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   129
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   130
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   131
# We need to #define FT2_BUILD_LIBRARY so that our sources find the
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   132
# internal headers
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   133
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   134
DEFINES += FT2_BUILD_LIBRARY ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   135
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   136
# Uncomment the following line if you want to build individual source files
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   137
# for each FreeType 2 module.  This is only useful during development, and
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   138
# is better defined as an environment variable anyway!
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   139
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   140
# FT2_MULTI = true ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   141
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   142
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   143
# The file <freetype/config/ftheader.h> is used to define macros that are
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   144
# later used in #include statements.  It needs to be parsed in order to
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   145
# record these definitions.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   146
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   147
HDRMACRO  [ FT2_SubDir  include freetype config ftheader.h ] ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   148
HDRMACRO  [ FT2_SubDir  include freetype internal internal.h ] ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   149
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   150
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   151
# Now include the Jamfile in `freetype2/src', used to drive the compilation
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   152
# of each FreeType 2 component and/or module.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   153
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   154
SubInclude  FT2_TOP $(FT2_SRC_DIR) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   155
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   156
# Handle the generation of the `ftexport.sym' file which contain the list
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   157
# of exported symbols.  This can be used on Unix by libtool.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   158
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   159
SubInclude FT2_TOP $(FT2_SRC_DIR) tools ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   160
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   161
rule GenExportSymbols
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   162
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   163
  local  apinames = apinames$(SUFEXE) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   164
  local  headers  = [ Glob $(2) : *.h ] ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   165
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   166
  LOCATE on $(1) = $(ALL_LOCATE_TARGET) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   167
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   168
  APINAMES on $(1) = apinames$(SUFEXE) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   169
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   170
  Depends            $(1) : $(apinames) $(headers) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   171
  GenExportSymbols1  $(1) : $(headers) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   172
  Clean              clean : $(1) ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   173
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   174
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   175
actions GenExportSymbols1 bind APINAMES
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   176
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   177
  $(APINAMES) $(2) > $(1)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   178
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   179
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   180
GenExportSymbols  ftexport.sym : include/freetype include/freetype/cache ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   181
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   182
# Test files (hinter debugging).  Only used by FreeType developers.
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   183
#
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   184
if $(DEBUG_HINTER)
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   185
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   186
  SubInclude FT2_TOP tests ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   187
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   188
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   189
rule RefDoc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   190
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   191
  Depends  $1 : all ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   192
  NotFile  $1 ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   193
  Always   $1 ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   194
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   195
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   196
actions RefDoc
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   197
{
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   198
  python $(FT2_SRC)/tools/docmaker/docmaker.py --prefix=ft2 --title=FreeType-2.4.4 --output=$(DOC_DIR) $(FT2_INCLUDE)/freetype/*.h $(FT2_INCLUDE)/freetype/config/*.h
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   199
}
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   200
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   201
RefDoc  refdoc ;
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   202
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   203
88f2e05288ba aaand let's add freetype as well while we are at it
koda
parents:
diff changeset
   204
# end of top Jamfile