build: use --enable-gtk-doc instead of our custom --with-docs
This commit is contained in:
@@ -5,7 +5,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
|
|||||||
--with-udev-base-dir="$$dc_install_base" \
|
--with-udev-base-dir="$$dc_install_base" \
|
||||||
--with-systemdsystemunitdir="$$dc_install_base/$(SYSTEMD_UNIT_DIR)" \
|
--with-systemdsystemunitdir="$$dc_install_base/$(SYSTEMD_UNIT_DIR)" \
|
||||||
--with-tests=yes \
|
--with-tests=yes \
|
||||||
--with-docs=yes
|
--enable-gtk-doc=yes
|
||||||
|
|
||||||
INTLTOOL_FILES = \
|
INTLTOOL_FILES = \
|
||||||
intltool-extract.in \
|
intltool-extract.in \
|
||||||
|
14
configure.ac
14
configure.ac
@@ -24,18 +24,6 @@ LT_INIT
|
|||||||
dnl
|
dnl
|
||||||
dnl Documentation
|
dnl Documentation
|
||||||
dnl
|
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)
|
GTK_DOC_CHECK(1.0)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
@@ -290,7 +278,7 @@ echo "
|
|||||||
|
|
||||||
PPP-enabled tests: ${have_pppd_headers}
|
PPP-enabled tests: ${have_pppd_headers}
|
||||||
PolicyKit support: ${with_polkit}
|
PolicyKit support: ${with_polkit}
|
||||||
Documentation: ${with_docs}
|
Documentation: ${enable_gtk_doc}
|
||||||
MBIM support: ${with_mbim}
|
MBIM support: ${with_mbim}
|
||||||
QMI support: ${with_qmi}
|
QMI support: ${with_qmi}
|
||||||
Newest QMI commands: ${with_newest_qmi_commands}
|
Newest QMI commands: ${with_newest_qmi_commands}
|
||||||
|
Reference in New Issue
Block a user