aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-12-06 15:58:44 +1300
committerRobert Ancell <robert.ancell@canonical.com>2012-12-06 15:58:44 +1300
commitb121a13c9490ac690d57a7e9bbfe729cd9d197fc (patch)
tree66326b1b5f796923f9f966b750bd3ce93ce57a30 /autogen.sh
parent0119cb849d30241e04f27f622c710967bb9e79d0 (diff)
downloadayatana-indicator-bluetooth-b121a13c9490ac690d57a7e9bbfe729cd9d197fc.tar.gz
ayatana-indicator-bluetooth-b121a13c9490ac690d57a7e9bbfe729cd9d197fc.tar.bz2
ayatana-indicator-bluetooth-b121a13c9490ac690d57a7e9bbfe729cd9d197fc.zip
Get distcheck working
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index 672b25b..82480e7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,9 +1,12 @@
#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-
-libtoolize
-intltoolize --force
-aclocal
-automake --add-missing --copy --foreign
-autoconf
-./configure $@
+
+PKG_NAME="indicator-bluetooth"
+
+which gnome-autogen.sh || {
+ echo "You need gnome-common"
+ exit 1
+}
+
+USE_GNOME2_MACROS=1 \
+. gnome-autogen.sh
+