[vte/vte-0-34] build: Use autoreconf directly
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-34] build: Use autoreconf directly
- Date: Tue, 30 Jul 2013 13:40:14 +0000 (UTC)
commit 0062b25d84cd86f04525059d1bfa1ee186acf140
Author: Christian Persch <chpe gnome org>
Date: Tue Jul 30 15:31:26 2013 +0200
build: Use autoreconf directly
autogen.sh | 31 +++++++++----------------------
1 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index e1cc132..1e312d0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,29 +1,16 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+set -e
+
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME="vte"
-
-(test -f $srcdir/configure.in \
- && test -f $srcdir/README \
- && test -d $srcdir/src) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
-
-echo "checking for GNU gperf"
-which gperf || {
- echo "You need to install GNU gperf"
- exit 1
-}
-
-echo "checking for gnome-autogen.sh"
-which gnome-autogen.sh || {
- echo "You need to install the gnome-common package"
- exit 1
-}
+cd "$srcdir"
+mkdir -p m4 >/dev/null 2>&1 || true
+gtkdocize --copy --flavour no-tmpl
+autoreconf --verbose --force --install
+intltoolize --force
+cd -
-. gnome-autogen.sh
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]