blob: cc96623726770c87bc7ba43079e411690be2aca4 [file] [log] [blame]
Aleksander Morgado55206162012-07-03 15:44:49 +02001#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4srcdir=`dirname $0`
5test -z "$srcdir" && srcdir=.
6REQUIRED_AUTOMAKE_VERSION=1.9
7PKG_NAME=libqmi-glib
8
9(test -f $srcdir/configure.ac \
10 && test -f $srcdir/src/libqmi-glib.h) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
13 exit 1
14}
15
16(cd $srcdir;
17 mkdir -p m4
18 touch README NEWS ChangeLog
19 autoreconf --force --install --verbose
20 if test -z "$NOCONFIGURE"; then
21 ./configure --enable-maintainer-mode $@
22 fi
23)