~elementary-os/ubuntu-package-imports/simple-scan-utopic

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: RabbitBot
  • Date: 2014-07-26 08:34:23 UTC
  • Revision ID: rabbitbot@elementaryos.org-20140726083423-zt6u3kod1ucclu8k
Initial import, version 3.13.4.2-0ubuntu1

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