[banshee] [build] Allow building without gnome-doc-utils
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [build] Allow building without gnome-doc-utils
- Date: Fri, 18 Jun 2010 17:59:06 +0000 (UTC)
commit e22bf4ffd58206ffaf0a04d3fe706abc39ed77e5
Author: Gabriel Burt <gabriel burt gmail com>
Date: Fri Jun 18 10:57:29 2010 -0700
[build] Allow building without gnome-doc-utils
autogen.sh | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 01501e8..310c017 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -64,7 +64,13 @@ check_autotool_version $LIBTOOLIZE 1.4.3
check_autotool_version intltoolize 0.35.0
check_autotool_version pkg-config 0.14.0
-gnome-doc-prepare --automake
+if [ $(pkg-config --modversion gnome-doc-utils 2> /dev/null) ]; then
+ run gnome-doc-prepare --automake --force
+else
+ echo "gnome-doc-utils not found; user help will not be built"
+ echo "AC_DEFUN([GNOME_DOC_INIT], [AC_MSG_NOTICE([])])" > gnome-doc-utils.make
+fi
+
run intltoolize --force --copy
run $LIBTOOLIZE --force --copy --automake
run aclocal -I build/m4/banshee -I build/m4/shamrock -I build/m4/shave $ACLOCAL_FLAGS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]