mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
build: Make the manual pages creation optional
This commit is contained in:
parent
b4c9e63a8b
commit
f82eb13f65
@ -107,7 +107,12 @@ if (test "${enable_dbusconf}" != "no" && test -z "${path_dbusconfdir}"); then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}])
|
AC_SUBST(DBUS_CONFDIR, [${path_dbusconfdir}])
|
||||||
|
|
||||||
AC_PATH_PROG(A2X, [a2x], [], $PATH:/sbin:/usr/sbin)
|
AC_ARG_ENABLE([docs], AC_HELP_STRING([--enable-docs],
|
||||||
|
[build documentation and manual pages]),
|
||||||
|
[enable_docs=${enableval}])
|
||||||
|
if (test "${enable_docs}" = "yes"); then
|
||||||
|
AC_PATH_PROG(A2X, [a2x], [], $PATH:/sbin:/usr/sbin)
|
||||||
|
fi
|
||||||
AM_CONDITIONAL(BUILD_DOCS, test "$A2X" != "")
|
AM_CONDITIONAL(BUILD_DOCS, test "$A2X" != "")
|
||||||
|
|
||||||
AC_CONFIG_FILES(Makefile)
|
AC_CONFIG_FILES(Makefile)
|
||||||
|
Loading…
Reference in New Issue
Block a user