public
Description: A JSON reader and writer library using GLib and GObject
Homepage: http://live.gnome.org/JsonGlib
Clone URL: git://github.com/ebassi/json-glib.git
ebassi (author)
Sun Jun 28 15:52:34 -0700 2009
commit  7411cadc0fdd9ffc2bd7004c9980913ac857a495
tree    7d5bf8b38c6d91fcf5922d25b901be5c9d07b3ca
parent  112a8ec8dfd9c46304008b62e8ab256ed7714644
json-glib / autogen.sh
100755 31 lines (24 sloc) 1.038 kb
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
#! /bin/sh
 
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
 
PKG_NAME=JSON-GLib
TEST_TYPE=-d
FILE=json-glib
 
test ${TEST_TYPE} ${FILE} || {
        echo "You must run this script in the top-level ${PKG_NAME} directory"
        exit 1
}
 
which gnome-autogen.sh || {
        echo "*** You need to install gnome-common from GNOME SVN:"
        echo "*** svn co http://svn.gnome.org/svn/gnome-common/trunk gnome-common"
        exit 1
}
 
REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
 
# we need to patch gtk-doc.make to support pretty output with
# libtool 1.x. Should be fixed in the next version of gtk-doc.
# To be more resilient with the various versions of gtk-doc one
# can find, just sed gkt-doc.make rather than patch it.
sed -e 's#) --mode=compile#) --tag=CC --mode=compile#' gtk-doc.make > gtk-doc.temp \
                && mv gtk-doc.temp gtk-doc.make
sed -e 's#) --mode=link#) --tag=CC --mode=link#' gtk-doc.make > gtk-doc.temp \
                && mv gtk-doc.temp gtk-doc.make