summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-09-09 13:15:57 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-10-05 11:46:00 +0100
commit783baf9df290a30ee9157338d41a1bfebc36f2ab (patch)
tree08512bf1cfb0d38b064f24d01321867e010b4d55 /configure.in
parentee17175118028ad3b2c39be2fd58a21406325b91 (diff)
downloaddbus-783baf9df290a30ee9157338d41a1bfebc36f2ab.tar.gz
dbus-783baf9df290a30ee9157338d41a1bfebc36f2ab.tar.bz2
dbus-783baf9df290a30ee9157338d41a1bfebc36f2ab.zip
Move uploading docs into build system.
This uploads a doc tarball, and its contents, to the appropriate location on dbus.freedesktop.org. It also uploads the DTDs to the appropriate location on specifications.freedesktop.org. I believe this uploads the same files as the old update-dbus-docs.sh script did.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 6af0ca9f..c6033987 100644
--- a/configure.in
+++ b/configure.in
@@ -1348,6 +1348,10 @@ AC_PATH_PROG([MAN2HTML], [man2html])
AC_ARG_VAR([MAN2HTML], [Path to man2html (optional)])
AM_CONDITIONAL(DBUS_HAVE_MAN2HTML, test x$MAN2HTML != x)
+AM_CONDITIONAL(DBUS_CAN_UPLOAD_DOCS,
+ test x$enable_doxygen_docs = xyes -a x$enable_xml_docs = xyes -a \
+ x$MAN2HTML != x)
+
#### Have to go $localstatedir->$prefix/var->/usr/local/var
#### find the actual value for $prefix that we'll end up with