[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 70ec5dc] Add a --disable-docs to configure to all
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 70ec5dc] Add a --disable-docs to configure to allow doc buildto be disabled |
Date: |
Thu, 14 May 2009 13:31:34 -0000 |
From: Anthony Liguori <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/configure b/configure
index b2a2540..d3788fc 100755
--- a/configure
+++ b/configure
@@ -177,7 +177,7 @@ softmmu="yes"
linux_user="no"
darwin_user="no"
bsd_user="no"
-build_docs="no"
+build_docs="yes"
uname_release=""
curses="yes"
pthread="yes"
@@ -492,6 +492,8 @@ for opt do
;;
--with-pkgversion=*) pkgversion=" ($optarg)"
;;
+ --disable-docs) build_docs="no"
+ ;;
*) echo "ERROR: unknown option $opt"; show_help="yes"
;;
esac
@@ -1236,9 +1238,8 @@ EOF
fi
# Check if tools are available to build documentation.
-if [ -x "`which texi2html 2>/dev/null`" ] && \
- [ -x "`which pod2man 2>/dev/null`" ]; then
- build_docs="yes"
+if test "$build_docs" = "yes" -a \( ! -x "`which texi2html 2>/dev/null`" -o !
-x "`which pod2man 2>/dev/null`" \) ; then
+ build_docs="no"
fi
##########################################
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 70ec5dc] Add a --disable-docs to configure to allow doc buildto be disabled,
Anthony Liguori <=