Hash :
6aa35cd5
        
        Author :
  
        
        Date :
2003-07-09T15:20:32
        
      
* builds/freetype.mk (DOC_DIR): New variable. (refdoc): Use *_DIR variables. (distclean): Remove documentation files. * builds/detect.mk (std_setup, dos_setup): Mention `make refdoc'. * configure: Set DOC_DIR variable. * builds/freetype.mk (refdoc): New target to build the documentation. (.PHONY): Updated. * include/freetype/freetype.h: Improve documentation of FT_CharMap. * include/freetype/ftimage,h: Fix documentation of FT_OUTLINE_FLAGS. * include/freetype/tttables.h: Document FT_Sfnt_Tag.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
#!/bin/sh
#
# Call the 'configure' script located in 'builds/unix'.
#
# This should re-generate the following files:
#
#   config.mk
#   Jamfile
#   install
#
if test "x$GNUMAKE" = x; then
  GNUMAKE=make
fi
if test -z "`$GNUMAKE -v 2>/dev/null | grep GNU`"; then
  echo "Sorry, GNU make is required to build FreeType2." >&2
  echo "Please try \`GNUMAKE=<GNU make command name> $0'." >&2
  exit 1
fi
# Uh, oh.  This is taken from autoconf.  They know what they are doing...
if expr a : '\(a\)' >/dev/null 2>&1; then
  ft_expr=expr
else
  ft_expr=false
fi
ft2_dir=`(dirname "$0") 2>/dev/null ||
$ft_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
         X"$0" : 'X\(//\)[^/]' \| \
         X"$0" : 'X\(//\)$' \| \
         X"$0" : 'X\(/\)' \| \
         .     : '\(.\)' 2>/dev/null ||
echo X"$0" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
         /^X\(\/\/\)[^/].*/{ s//\1/; q; }
         /^X\(\/\/\)$/{ s//\1/; q; }
         /^X\(\/\).*/{ s//\1/; q; }
         s/.*/./; q'`
abs_curr_dir=`pwd`
abs_ft2_dir=`cd "$ft2_dir" && pwd`
# build a dummy Makefile if we are not building in the source tree
if test "$abs_curr_dir" != "$abs_ft2_dir"; then
  mkdir reference
  echo "TOP_DIR=$abs_ft2_dir"             > Makefile
  echo "OBJ_DIR=$abs_curr_dir"           >> Makefile
  echo "OBJ_BUILD=$abs_curr_dir"         >> Makefile
  echo "DOC_DIR=$abs_curr_dir/reference" >> Makefile
  echo "LIBTOOL=$abs_curr_dir/libtool"   >> Makefile
  echo "include $abs_ft2_dir/Makefile"   >> Makefile
fi
# call make
CFG="$@" $GNUMAKE setup unix
# eof