~ubuntu-branches/debian/stretch/alarm-clock-applet/stretch

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-05-30 23:24:27 UTC
  • Revision ID: james.westby@ubuntu.com-20090530232427-88on1j2ily4ajxdz
Tags: upstream-0.2.6
ImportĀ upstreamĀ versionĀ 0.2.6

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="Alarm Clock"
 
8
 
 
9
(test -f $srcdir/configure.ac \
 
10
  && test -f $srcdir/src/alarm-applet.c) || {
 
11
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
 
12
    echo " top-level alarm-clock directory"
 
13
    exit 1
 
14
}
 
15
 
 
16
 
 
17
which gnome-autogen.sh || {
 
18
    echo "You need to install gnome-common from the GNOME CVS"
 
19
    exit 1
 
20
}
 
21
REQUIRED_AUTOMAKE_VERSION=1.8 \
 
22
USE_GNOME2_MACROS=1 \
 
23
USE_COMMON_DOC_BUILD=yes \
 
24
. gnome-autogen.sh