summaryrefslogtreecommitdiff
path: root/build/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/autogen.sh')
-rwxr-xr-xbuild/autogen.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/build/autogen.sh b/build/autogen.sh
new file mode 100755
index 000000000..32351d7f8
--- /dev/null
+++ b/build/autogen.sh
@@ -0,0 +1,21 @@
+#!/bin/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
+
+gettext=`which gettext`
+gettext_prefix=`dirname $gettext | xargs dirname`
+
+if [ -x $gettext_prefix/share/gettext/mkinstalldirs ]; then
+ cp $gettext_prefix/share/gettext/mkinstalldirs $srcdir
+fi
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
+USE_GNOME2_MACROS=1 . gnome-autogen.sh