aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-23 13:16:54 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-05-26 19:16:39 +0200
commite134a81a87ff8bc4e43393b99d14a6bac88dc67a (patch)
tree711861211da79cc8223486d1e036f422d06e18ec
parent3ed1cb2e1dd111ed0e5435bbc88396b42180df1d (diff)
build: use --enable-gtk-doc instead of our custom --with-docs
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac14
2 files changed, 2 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am
index 750dec78..a8a7f673 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-udev-base-dir="$$dc_install_base" \
--with-systemdsystemunitdir="$$dc_install_base/$(SYSTEMD_UNIT_DIR)" \
--with-tests=yes \
- --with-docs=yes
+ --enable-gtk-doc=yes
INTLTOOL_FILES = \
intltool-extract.in \
diff --git a/configure.ac b/configure.ac
index 3bc03ac2..ef352ca0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,18 +24,6 @@ LT_INIT
dnl
dnl Documentation
dnl
-
-AC_ARG_WITH(docs, AS_HELP_STRING([--with-docs], [Build ModemManager documentation]))
-AM_CONDITIONAL(WITH_DOCS, test "x$with_docs" = "xyes")
-case $with_docs in
- yes)
- enable_gtk_doc=yes
- ;;
- *)
- with_docs=no
- ;;
-esac
-
GTK_DOC_CHECK(1.0)
dnl
@@ -290,7 +278,7 @@ echo "
PPP-enabled tests: ${have_pppd_headers}
PolicyKit support: ${with_polkit}
- Documentation: ${with_docs}
+ Documentation: ${enable_gtk_doc}
MBIM support: ${with_mbim}
QMI support: ${with_qmi}
Newest QMI commands: ${with_newest_qmi_commands}