summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRodney Dawes <dobey@gnome.org>2010-01-03 17:32:56 -0500
committerRodney Dawes <dobey@gnome.org>2010-01-03 17:32:56 -0500
commit7a734d51716428f97e82b1ae8aa7a8b9bda64ef5 (patch)
tree204cf0be2046b20c0b4cafcc30fa1b7ca8ae9f73 /autogen.sh
parent2354277987b3112eb7f7ef9a9d0e1ad1a880d70e (diff)
downloadadwaita-icon-theme-7a734d51716428f97e82b1ae8aa7a8b9bda64ef5.tar.gz
Bring back a proper build system and theme generation
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh23
1 files changed, 21 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index b264d2aca..cd7b2b4d8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,3 +1,22 @@
#!/bin/sh
-./create-icon-theme.sh gnome
-./output/gnome/autogen.sh $@
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gnome-icon-theme"
+REQUIRED_AUTOMAKE_VERSION=1.9
+
+(test -f $srcdir/configure.ac \
+ && test -f $srcdir/index.theme.in.in \
+ && test -d $srcdir/src) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
+USE_GNOME2_MACROS=1 . gnome-autogen.sh