~ubuntu-branches/debian/jessie/fonts-cantarell/jessie

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Package Import Robot
  • Author(s): Nicolas Spalinger
  • Date: 2011-09-28 11:44:19 UTC
  • Revision ID: package-import@ubuntu.com-20110928114419-fw6sycam4xtsuuyr
Tags: upstream-0.0.6+git20110405
ImportĀ upstreamĀ versionĀ 0.0.6+git20110405

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run this to generate all the initial makefiles, etc.
 
3
 
 
4
srcdir=`dirname $0`
 
5
test -z "$srcdir" && srcdir=.
 
6
 
 
7
PKG_NAME="cantarell-fonts"
 
8
REQUIRED_AUTOMAKE_VERSION=1.9
 
9
REQUIRED_PKG_CONFIG_VERSION=0.19.0
 
10
 
 
11
(test -f $srcdir/configure.ac \
 
12
  && test -d $srcdir/src) || {
 
13
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
14
    echo " top-level $PKG_NAME directory"
 
15
    exit 1
 
16
}
 
17
 
 
18
which gnome-autogen.sh || {
 
19
    echo "You need to install gnome-common from the GNOME CVS"
 
20
    exit 1
 
21
}
 
22
 
 
23
(cd $srcdir && autoreconf --force --install) || exit 1
 
24
 
 
25
if test x$NOCONFIGURE = x; then
 
26
    . gnome-autogen.sh
 
27
else
 
28
    echo Skipping configure process.
 
29
fi
 
30