f7c72b42ef
Initial setup of gtk-doc. Straight forward setup following the gtk-doc instructions. Ignore some troublesome types in src/hb-gobject.h. To build use "./autogen.sh --enable-gtk-doc" then "make". Docs are in harfbuzz/docs/reference/html/index.html.
41 lines
888 B
Bash
Executable File
41 lines
888 B
Bash
Executable File
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
test -n "$srcdir" || srcdir=`dirname "$0"`
|
|
test -n "$srcdir" || srcdir=.
|
|
|
|
olddir=`pwd`
|
|
cd $srcdir
|
|
|
|
echo -n "checking for ragel... "
|
|
which ragel || {
|
|
echo "You need to install ragel... See http://www.complang.org/ragel/"
|
|
exit 1
|
|
}
|
|
|
|
echo -n "checking for pkg-config... "
|
|
which pkg-config || {
|
|
echo "*** No pkg-config found, please install it ***"
|
|
exit 1
|
|
}
|
|
|
|
echo -n "checking for gtkdocize... "
|
|
which gtkdocize || {
|
|
echo "*** No gtkdocize found, please install it ***"
|
|
exit 1
|
|
}
|
|
gtkdocize || exit 1
|
|
|
|
echo -n "checking for autoreconf... "
|
|
which autoreconf || {
|
|
echo "*** No autoreconf found, please install it ***"
|
|
exit 1
|
|
}
|
|
|
|
echo "running autoreconf --force --install --verbose"
|
|
autoreconf --force --install --verbose || exit $?
|
|
|
|
cd $olddir
|
|
echo "running configure $@"
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|