summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2008-11-11 09:31:16 -0500
committerDavid Zeuthen <davidz@redhat.com>2008-11-11 09:31:16 -0500
commit91c5085c6e755768ffb2b9e4acecd18bd361f727 (patch)
tree0671f506b3475d1250b6793f1c8d5a0b8ff729d8 /autogen.sh
parent46ce9a587ff0ca088262c8dd57013c16823b141b (diff)
downloadupower-91c5085c6e755768ffb2b9e4acecd18bd361f727.tar.gz
fix up deps and build system
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index d932c34..c098d33 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,8 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+touch ChangeLog
+
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
@@ -29,6 +31,14 @@ DIE=0
}
}
+(gtkdocize --flavour no-tmpl) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have gtk-doc installed to compile $PROJECT."
+ echo "Install the appropriate package for your distribution,"
+ echo "or get the source tarball at http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/"
+ DIE=1
+}
+
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have automake installed."